Retrieving location information by using the Location class

You can use the JSR 179 Location API, which is provided in the javax.microedition.location.Location package, to retrieve the following information:

  • latitude as a double
  • longitude as a double
  • ground speed of the BlackBerry® device, in meters per second
  • course of the BlackBerry device, in degrees relative to true north
  • time stamp of the GPS fix
  • NMEA sentence that contains the number of satellites that a BlackBerry device tracks

Was this information helpful? Send us your comments.