BlackBerry Java™ Development Environment (JDE) 4.2 and later
BlackBerry devices can be configured to source their Location Based Services data from either the onboard GPS chip (if available) or from a Bluetooth® GPS receiver. When an application accesses the Location API (either via the LocationProvider or LocationListener), the location data returned will automatically be obtained from the specified data source.
With respect to the Location API, the data source is defined to be either the onboard GPS chip or a Bluetooth GPS Receiver that has been paired with the BlackBerry device via the Options > Bluetooth screen.
Note that if the BlackBerry device has onboard GPS, it will be used as the default data source for Location Based Services data. If the device does not have onboard GPS, then the default data source is blank. Once a Bluetooth GPS receiver has been paired with the BlackBerry device, the default setting can be changed by the user via a choice field under Options > Location Based Services screen.
The net effect of this feature is that an application developer will no longer need to manage the Bluetooth communication with a GPS receiver; the Location API will now simply try to retrieve GPS coordinates from the user defined default data source, regardless of whether it is an onboard GPS or a Bluetooth GPS receiver.