Summary
This article applies to the following:
|
Details
The BlackBerry 8703e and 7130e smartphones both include Global Positioning System (GPS) functionality that can be used by BlackBerry smartphone users and BlackBerry smartphone applications on most wireless networks. The limitation of this GPS functionality is that with the BlackBerry 8703e and 7130e smartphones, the chipset cannot process a GPS fix and phone audio at the same time. Given this limitation, to allow for a location to be retrieved during a 911 emergency call, GPS fixes are given priority over the phone application. Therefore, when an application is requesting a GPS fix during a phone call, the audio will be suspended for the duration of the GPS fix.
For the purpose of an emergency response application, getting a GPS fix during a call is necessary and can be done. If possible, alert the BlackBerry smartphone user that the call is still connected but there will be a gap in the audio while a GPS fix is being acquired.
To avoid degrading phone quality, it is recommended that you have your application briefly terminate GPS functionality when a phone call is received. Once the phone call is complete, the application can resume GPS functionality.
To detect when a phone call is received and when it is complete, register a
Example
public class MyPhoneListener extends AbstractPhoneListener {
|