Overview

The GPS sample application implements a travel calculator that tracks the current location (using longitude, latitude, and altitude), direction, grade, and travel speed.

The GPS sample application uses the LocationProvider API to collect the GPS location information from the BlackBerry® device.

The sample application displays the information nearly simultaneously and updates the information at intervals that constants in the application specify.

The sample application also stores waypoints in persistent storage. These waypoints are recorded at intervals that constants in the application specify. The waypoints record the date and time they were taken, the distance travelled (using longitude, latitude, and altitude), and the average speed since the last waypoint.

Next topic: Featured classes

Was this information helpful? Send us your comments.