This example
MIDlet shows you how to use a ProximityListener
on Symbian devices. The
MIDlet registers a location as a landmark and compares its distance
to the current detected location of the device. When the two locations
are within a 500 meter radius of one another, the MIDlet displays
an alert.
Figure: ProximityReminder MIDlet
For a tutorial that shows you how to create this MIDlet, see section Example: Listening to proximity events.
This MIDlet is compatible with Symbian^3 devices and newer.
This MIDlet has been tested on the following device:
Nokia 701 (Symbian Belle with Java Runtime 2.3 for Symbian)
The MIDlet project files are packaged as a zip file. To download the zip file, click the following link:
The MIDlet consists of the following class (click to view the full source code):