com.sony.csl.j2me.locationapitools
Class LocationAPIUtilities
java.lang.Object
com.sony.csl.j2me.locationapitools.LocationAPIUtilities
public class LocationAPIUtilities
- extends java.lang.Object
A class with useful methods that deal with specific status fields of classes in the JSR-179 Location API
- Author:
- mstevens (Sony CSL Paris / Vrije Universiteit Brussel)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocationAPIUtilities
public LocationAPIUtilities()
isLocationApiSupported
public static boolean isLocationApiSupported()
- Checks whether the JSR-179 Location API is supported.
- Returns:
- a boolean indicating whether the JSR-179 Location API supported.
locationProviderState
public static java.lang.String locationProviderState(LocationProvider locationProvider)
locationProviderState
public static java.lang.String locationProviderState(int locationProviderState)
locationMethodFlags
public static java.lang.String locationMethodFlags(Location location)
locationMethodFlags
public static java.lang.String locationMethodFlags(int locationMethod)
getLocationAPISettings
public static java.lang.String getLocationAPISettings(LocationProxy locationProxy)
coordinatesTuple
public static java.lang.String coordinatesTuple(Coordinates coords,
boolean forceAltitudeToZero,
java.lang.String separator)