Methods in javax.microedition.location with parameters of type Coordinates |
static void |
LocationProvider.addProximityListener(ProximityListener listener,
Coordinates coordinates,
float proximityRadius)
Adds a ProximityListener for updates when proximity to the specified coordinates is detected. |
double |
Coordinates.azimuthTo(Coordinates to)
Calculates the azimuth between the two points according to
the ellipsoid model of WGS84. |
double |
Coordinates.distance(Coordinates to)
Calculates the geodetic distance between the two points according
to the ellipsoid model of WGS84. |
void |
ProximityListener.proximityEvent(Coordinates coordinates,
Location location)
After registering this listener with the LocationProvider, this method will be
called by the platform when the implementation detects that the current location of
the terminal is within the defined proximity radius of the registered coordinates. |