This simple application requires a Bluetooth GPS and will show you the direction to a given GPS location (a "target") without maps, using a pulsing direction arrow. You can request the location of other LocateMe users by text message, send your own location, or just simply save a location for directions back to it later.
The features:
- "Target" other LocateMe users' locations via a request text message
- Send your location to other LocateMe users via text message (can use your contacts list)
- Record your last location as a target
- View all the satellites around you on a "radar" style view
- Display RAW GPS data (suitable for testing)
- Connects to any bluetooth GPS
- Saves your bluetooth GPS and last set target settings
For developers the fully commented source code is a good example of:
- Design patterns, i.e. lazy initialization, command, strategy patterns
- 2 Tier system
- How to use PushRegistry (JSR 118)
- How to use the Record Store (JSR 118)
- How to use Bluetooth (JSR 82)
- How to use Text Messaging (JSR 120)
- How to use the PIM (and hack to minimise the security notices - JSR 75)
- How to use the Location Based API (JSR 179 - Nokia lapi.jar included)
- How to use simple graphics (not using a Game Canvas however)
- How to multi thread effectively
- Provide a basic understanding into Graphical and GPS trigonometry
Known Issues:
- The application is not security signed (this costs money!), so you will be shown numerous security popups.
- As your phone is not a compass the direction target arrow will only point to the correct direction once you start walking, and the phone can determine which way relative to North you are going, i.e. when you are stood still your phone doesn't know which direction you are facing! :)
- On first run there can be some delay discovering the bluetooth devices in busy areas (i.e. it may display "Waiting for GPS..." on first run for some time). This is down to the bluetooth device discovery picking up a large number of devices and querying them. Once you have located your GPS, future connections to the GPS do not require this discovery period and will be relatively quick
This software has been tested on Nokia Series 40 3rd edition phones at a minimum resolution of 128x128 pixels and Sun WTK emulator at 240x320
The software is licenced under the CPL 1.0 licence which is included with the distributions.
Link: http://silentdevelopment.blogspot.com/2008/03/locateme-free-j2me-gps-tracking.html
No comments:
Post a Comment