Specifying the GPS mode by using JSR 179
If you use the JSR 179 package, you must specify the properties for the GPS mode in the javax.microedition.location.Criteria class. The application cannot set the GPS mode directly. If a BlackBerry device is paired with a Bluetooth enabled GPS device to determine location, then the Bluetooth enabled device will be used regardless of how the Criteria object has been configured.
Specify the GPS mode (JSR 179)
Criteria mapping properties
If you use the JSR 179 Location API to specify a GPS mode, you must map the following properties for the Criteria class.
|
GPS mode |
Horizontal accuracy |
Vertical accuracy |
Cost allowed |
Power usage level |
Response time |
Fix frequency |
|---|---|---|---|---|---|---|
|
Autonomous |
required |
required |
no |
any |
any |
single or multiple |
|
Autonomous |
not required |
not required |
no |
medium, high, or not required |
any |
single or multiple |
|
Assisted or data optimal |
not required |
not required |
yes |
medium, high, or not required |
any |
single or multiple |
|
Assisted or speed optimal |
required |
required |
yes |
high |
quality of service |
multiple |
|
Assisted or MS-Based |
required |
required |
yes |
medium or not required |
quality of service |
multiple |
|
Assisted or accuracy optimal |
required |
required |
yes |
high |
quality of service |
single |
|
Assisted or MS-Assisted |
required |
required |
yes |
medium or not required |
quality of service |
single |
|
Cell site |
not required |
not required |
yes |
low |
any |
any |