Chapter 8

Where Am I? Using Location-Based Services

The BlackBerry API includes functionality to determine where in the world your device is and information such as the speed of the device. This information is obtained using the Global Positioning System (GPS) hardware that’s built in to many current devices, or it is obtained optionally from an external Bluetooth GPS receiver.

In addition, the BlackBerry device includes a mapping application called BlackBerry Maps, with an API that applications can call to show a map opened to any location in the world, routes from location to location, and points of interest on a map.   In OS 4.5 and higher, you can embed a map in your application’s user interface as a control, giving you more power over ...

Get Beginning Blackberry 7 Development now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.