View Single Post
Saturn's Avatar
Posts: 1,648 | Thanked: 2,122 times | Joined on Mar 2007 @ UNKLE's Never Never Land
#1
The Snuggle application (http://maemo.org/packages/view/snuggle/) uses the cell tower information to locate the geolocation coordinates.
It captures the CellID parameters (available from the connected GSM network) and by using Google APIs translates those to locate your position in a map.


In detail:
  • The application makes use of the CellID parameters extracted using the dbus call (seen it here, thanks BluesLee) and
  • Two Google APIs to lookup in the online cellid db, locate your position and show it in a map.

Usage description:

The user interface shows four buttons;
  • The "CellID" button, makes a dbus call to get the CellID information (requires a GSM connection).
  • The "Coordinates" button, makes an access to (the hidden) mmap Google API to get the latitude and longitude coordinates of the connected cell tower (requires a network connection).
  • The "Image" button, grabs from google maps an image of your location and opens a new window for the user to see it (requires a network connection).
  • The "Browser" button, opens the browser on googlemaps with the location coordinates found (requires a network connection).

When I get some time will create a wiki to give additional information on the usage, settings and implications.

The application is in extras-devel at the moment. Feel free to post comments and ideas for additions as well as any ideas for a better name


Future Plans:

Primary objective was to give a quick access at the location present.
In my opinion this has been accomplished in the version at extras-testing.

Next version (which is running on my device and needs some more work to be ready for upload) has in addition a daemon in the background logging silently the cells the device connects continuously. This part is ready and has been running for more than 2 weeks in my device without any significant power consumption.
All data are stored in a SQL DB. A configurable tracker will be available that grabs from a Google API the geolocation data for the Cell IDs recorded and updates the DB automatically on selected network connections and date/time settings.

An additional panel allows the user to grab from another Google API the locations between two dates and creates a KML file that can be directly uploaded in google maps and show the path/places visited. This part is missing the date/time selector but the rest of the code is ready.

Last edited by Saturn; 2011-06-25 at 10:31. Reason: added future plans
 

The Following 25 Users Say Thank You to Saturn For This Useful Post: