Summary of classes

blareweyrSoftware and s/w Development

Dec 13, 2013 (3 years and 6 months ago)

88 views

Summary of classes

Class Name

Description

Co880.CAA


GCMIntentService

Receives messages from Google Cloud Messaging service
an
d

performs callbacks.

LocationServiceBroadcastReceiver

Receives the user’s location from the locationService

and
calls draw methods based on the received location.

Co880.CAA.Activities


CAAActivity

Main menu.

CreateEvent

Creation of location sharing events.

EditEvent

Editing of location sharing events.

FriendManagerActivity

Managing contacts associated with

this app.

LocationActivity

Main view for a location sharing session. Draws map
overlays for the user, other users and boundary (if selected).

MyEvents

List of upcoming events

PrefActivity

Preferences such a frequency of location updates.

ProfileActivi
ty

Logging in and out of the app.

SetBoundaryActivity

Determine size and position of an optional boundary for
location sharing.

Co880.CAA.AlarmIntent


CalendarObserver

A subclass of contentObserver

which monitors externally
triggered changes to calendar events.

LocationActivityPendingManager

Manages automatic launching of the app when a sharing
event starts.

Co880.CAA.Model


BoundaryCheck

Performs a comparison between a user’s position and
defined boundary coordinates and radius.

BoundaryOverlay

Draws the location sharing boundary on the map.

CalendarModel

Performs data transfer into and out of the Android calendar.

ClickableMapView

A subclass of mapView which overrides onLongTap

to allow
placement of a boundary on the map.

ContactsModel

Queries the local contacts and compares them with list of
possible registered contacts.

EventIDChecker

Retrieves eventID from an automatically launched intent and
stores it in SharedPreferences.

EventListHelper

A subclass of SQLiteHelper for local database creation and
access.

EventManager

Subclass of ExpiryChecker which m
anages start
-
up and
finishing of the sharing events in the main menu
(CAAActivity).

EventModel

Subclass of ExpiryChecker w
hich m
anages
set
-
up,
monitoring

and triggers closing of sharing events in the map
view (LocationActivity).

ExpiryChecker

Checks whether a given event is active or expired. Superclass
of EventManager and EventModel.

LocationService

Determines the best location provider available and finds a
user’s location then sends a broadcast message.

MyEventDb

Methods for data transfer into and out of a local application
specific SQLite database.

MyItemizedOverlay

Draws a user on the map.

Othe
rItemizedOverlay

Draws other users on the map.

RawContactManager

Methods for inserting, finding and deleting new users into
the contacts database for this application.

RetrieveGoogleCalendarId

Finds the Google calendarID for the device.

SessionHandler

Handles message from the session thread and calls methods
to update location fields and draw location in the map view
(LocationActivity).

SessionThread

Monitors the current time and sends messages to the UI
thread about time remaining and event expiry.

S
yncManager

Forces synchronisation of the Google calendar.

TimeConverter

Coverts time and dates to and from epoch times.

TimeNotification

Creates a notification object for use when an event has
expired.

Utils

Commonly used static methods for data
manipulation.

Co880.CAA.ServerUtils


CheckContactsHandler

Parses JSON object returned from the server and updates
FriendManagerActivity with result.

CheckContactsThread

Creates an object of CrossCheckContacts and executes it.

CrossCheckContacts

Sends a

list of users’ to the server and retrieves a list of
those users’ that are registered on server.

DeleteLocationData

Delete’s a user’s location data from the server once a
session has ended.

EmailIntentManager

Launches external email activity with some p
re
-
filled
information.

GetOtherLocations

Creates an HTTP client to request other users’ location data
from the server.

GetUsersLocHandler

Handles messages from the thread which queries the server
for other users’ location data.

GetUsersLocThread

Creates an instance of GetOtherLocations to query the
server for other users’ location data, and sends this data to
the handler in a message.

JSONParser

Converts JSON objects into other data types such as
ArrayLists and String arrays.

ReadJSONStream

Rea
ds the InputStream from the server and returns a String
representing a JSON object.

RegisterHandler

Logs a message when GCM registration is successful.

SendEventDetails

Takes an event and its attendees and sends the data to the
server, returns a response

as an InputStream.

SendEventThread

Sends event details to server via SendEventDetails, receives
either a success or an error message from the GCM servers.

SendLocationData

Async task to sends locations to the server.

SendRegsitration

Sends an email
address to the server an
d

registers it.

SetSharingStatus

Sends a users’ sharing status to the server, returns a
response as an InputStream.