Wednesday, September 19, 2012

 --::[ HARSH SONDHI

 

Main Activity Starting and Stopping Proximity Activity.Also an option to see "Where am i"






 

1. INTRODUCTION

T+ MyTracker is a tool with general purpose tracking capabilities. User can specify a Guardian with whom a location can be shared dynamically by SMS. User can set a bench mark and maximum distance radius as limit, location is shared with Guardian if device enters or exits the set limit. Guardian can query device location by SMS at a certain point time or periodically by starting a service. User has full control to set permission, to start and to stop any locally or remotely started service. User has capability to check current location of device “Where am I ?” at any time. GPS or Network provider is used to get current location.

 1.1 Purpose

To provide a general purpose tracking management tool which can be used for tracking and assisting adults and children. Main purpose is to make it C2DM and social network aware in future versions. Also to download and read GPX files to preview tracking routes in future.
 1.2 Scope
 Accuracy of application depends on GPS or Network provider and its availability.
This application is an experimental tool not to be used for formal tracking. Algorithm and android API need  to be fine tuned for more efficient use as well as for events during android application life cycle.
It uses Network provider extensively to retrieve current location, though for some selective services it initially uses gps provider. If GPS provider does not respond in 30 sec in first attempt then network provider is used for second attempt to find current location.
An additional cast may occur for using GPS/Network provider by this application. Check with your network provider.

 1.3 Background

This tool is an attempt to experiment with capability of device providers and android location, map api and mapviews.

 1.4 References

Android 2.3.3 API.
 1.5    Assumptions and Constraints
GPS or Network providers availability and accuracy.
Minimum version 2.3.3

 1.5.1    Assumptions

<uses-sdk android:minSdkVersion="10" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.SEND_SMS" />
<uses-permission android:name="android.permission.RECEIVE_SMS" />
 <uses-permission android:name="android.permission.READ_CONTACTS" />
 <uses-permission android:name="android.permission.WAKE_LOCK"/>
<uses-library android:name="com.google.android.maps"android:required="true" />


Make sure both GPS and Network providers are enabled.
Application is installed only on user’s android device(min version 2.3.3). Guardian can send sms from Android/iPhone.

2.  Functions Description:


T+ MyTracker is a tracking tools which has 4 main functions. Note accuracy and staleness of information depends on GPS/Network provider.
1). Provides current location to a user "Where am I ?". at a given time dynamically with accuracy circle.
2)proximity Service. Provides alert to user and send SMS to a guardian if device enters into or exits from its a preconfigured limit from bench mark. Fine tuned instead of  using native proximity alert function.
3).    Guardian has an option to get user's current location by SMS. If device receives SMS sent or delivery error, User is alerted and a option to send current location to guardian by email is provided. User has multiple options to narrow down or not to allow location sharing with Guardian.
4)    Guardian has an option to start a service on device by SMS get periodic  location  by SMS. If device receives SMS sent or delivery error, User is alerted and a option to send current location to guardian by email is provided. User has multiple options to narrow down or not to allow location sharing with Guardian.
User can stop all MyTracker's services started remotely by SMS or locally by user on device.



Agreement to receive/send SMS,to send email,to share location and to provider option. Make sure both GPS/network provider are enable and clicked in agreement.

My Preference: Completion status of required options.
Also status of services running in applications.
Guardian Form:
Address validation and save geopoint / location.
Look up name, email by phone in device contact provider.
Update and Save name, email and sms number.

User Form:
Address validation and save geopoint / location.
Look up name, email by phone in device contact provider.
Update and Save name, email and sms number.

Providers: Select both GPS/Network
[used by proximity service]
Safe Radius: Select safe limit from bench mark in meters.
For example: if user sets home address as bench mark.
Magic Password: set magic phrase which guardian identify in sms.



“Where am I?” 2 attempt location search.
First tries to get by GPS (wait 30 sec).
If GPS attempt timed out, use Location Network.


Current Location shown with accuracy circle.
Get distance from the home/bench mark.
If scrolled map to other location, go back to original point, one
Click.
User /Guardian puts the home/benchmark address.
Application finds the location on map by geo coding.




Location can be saved.
Or fine tuned by scrolling map to other location and tabbing on screen. Current location is moved to the tabbed position.
Once fine tuned location can be saved.

User/Guardian: Look up user information by phone.
If phone available in device contact list, application gets name and email from contact provider and auto fill the information
Auto fill name, email by phone lookup.
Update and save information, only in application level.
It wont modify contact information available on device.


[USER VIEW]
If user gets SMS from guardian. Device will show notification as well message
[User View]
If  SMS received by use has magic phrase e,g Bathhilda Bagshot,Where are you?….device set auto response to guardian with location. Permissions and magic phrase is set by user.


[Guardian Device]
Guardian gets location by SMS
[Guardian Device]
Guardian can choose native program to see location.
[Guardian Device]
SMS received from user.

[Guardian Device]
User’s location on map.
[Guardian Device]
Guardian receive periodic response for location change.

[User Device]
User’s periodic location service can be started and stopped by guardian by SMS. User has full control to stop all service or filter response.

Application alerts if SMS occurs Send or Delivery Error. Depending on settings and permission, it provides alternate to share location by email. Tabbing the notification navigate to email with location auto filled.
Alternative Email view on SMS ERROR: Location, subject and email auto filled