Motorola Inc. | i88s J2ME Developers’ Guide |
1 AGPS On The i88s Phone
1.1Overview
The i88s phone provides users and developers access to GPS position information such as latitude, longitude, altitude, speed, and etc. This feature is provided as a
This section describes some of the phone’s features that affect AGPS accuracy and availability from a J2ME MIDlet.
Location Privacy
To protect users’ position information privacy, the i88s phone allows users to choose their privacy setting before or while a GPS application is running on the device.
Privacy Settings
There are three privacy settings in the i88s phone:
•By Permission – Applications must request permission from the user before accessing GPS services
•Restricted – Does not allow any applications access to GPS services
•Unrestricted – Allow applications to access GPS services
By Permission
By default, the Privacy setting under the GPS Main Menu item is set to “By Permission”. With this privacy setting, when the user launches any GPS MIDlet for the first time, the phone will ask the user for permission to access GPS position information. Once “By Permission” has been selected, the phone creates the Privacy Settings menu item under the Java Privacy Settings screen for this MIDlet. The MIDlet Privacy Settings has three different Location Read settings: Always, Ask, and Never.
When “Always” has been selected for Location Read, this MIDlet is allowed to access GPS data at any time even if “By Permission” is selected at the GPS Main Menu. If “Ask” has been selected, the phone will request user for permission to access GPS data; however, if “Never” is selected, then the MIDlet cannot access GPS data when it is launched.
Restricted
If the GPS Privacy setting is set to “Restricted”, all GPS MIDlets will not be able to retrieve GPS data. In addition, when this setting is selected, the phone does not create the Privacy Settings menu item under the Java MIDlet System Screen.
Unrestricted
If the GPS Privacy setting is set to “Unrestricted”, then all MIDlets can access GPS data. When this setting is selected, the phone does not create the Privacy Settings menu item.
Version 1.0 - Page 5