Summary of classes
Receives messages from Google Cloud Messaging service
Receives the user’s location from the locationService
calls draw methods based on the received location.
Creation of location sharing events.
Editing of location sharing events.
Managing contacts associated with
Main view for a location sharing session. Draws map
overlays for the user, other users and boundary (if selected).
List of upcoming events
Preferences such a frequency of location updates.
Logging in and out of the app.
Determine size and position of an optional boundary for
A subclass of contentObserver
which monitors externally
triggered changes to calendar events.
Manages automatic launching of the app when a sharing
Performs a comparison between a user’s position and
defined boundary coordinates and radius.
Draws the location sharing boundary on the map.
Performs data transfer into and out of the Android calendar.
A subclass of mapView which overrides onLongTap
placement of a boundary on the map.
Queries the local contacts and compares them with list of
possible registered contacts.
Retrieves eventID from an automatically launched intent and
stores it in SharedPreferences.
A subclass of SQLiteHelper for local database creation and
Subclass of ExpiryChecker which m
finishing of the sharing events in the main menu
Subclass of ExpiryChecker w
and triggers closing of sharing events in the map
Checks whether a given event is active or expired. Superclass
of EventManager and EventModel.
Determines the best location provider available and finds a
user’s location then sends a broadcast message.
Methods for data transfer into and out of a local application
specific SQLite database.
Draws a user on the map.
Draws other users on the map.
Methods for inserting, finding and deleting new users into
the contacts database for this application.
Finds the Google calendarID for the device.
Handles message from the session thread and calls methods
to update location fields and draw location in the map view
Monitors the current time and sends messages to the UI
thread about time remaining and event expiry.
Forces synchronisation of the Google calendar.
Coverts time and dates to and from epoch times.
Creates a notification object for use when an event has
Commonly used static methods for data
Parses JSON object returned from the server and updates
FriendManagerActivity with result.
Creates an object of CrossCheckContacts and executes it.
list of users’ to the server and retrieves a list of
those users’ that are registered on server.
Delete’s a user’s location data from the server once a
session has ended.
Launches external email activity with some p
Creates an HTTP client to request other users’ location data
from the server.
Handles messages from the thread which queries the server
for other users’ location data.
Creates an instance of GetOtherLocations to query the
server for other users’ location data, and sends this data to
the handler in a message.
Converts JSON objects into other data types such as
ArrayLists and String arrays.
ds the InputStream from the server and returns a String
representing a JSON object.
Logs a message when GCM registration is successful.
Takes an event and its attendees and sends the data to the
server, returns a response
as an InputStream.
Sends event details to server via SendEventDetails, receives
either a success or an error message from the GCM servers.
Async task to sends locations to the server.
Sends an email
address to the server an
Sends a users’ sharing status to the server, returns a
response as an InputStream.