Download jsr 179




















The security framework needed to enforce this access control as well as the policy for deciding about the permissions is out of the scope for this JSR, but necessary for the implementations to solve in some way.

For example, the MIDP 2. It limits the support from the basic Java core libraries. The Mobile Information Device Profile adds some features that are specific to this device group. The GSM Press Room Get Java Here. Contact Us. Terms of Use. Privacy Policy. Download page. Other devices might be able to receive location information from the wireless network. The Location API provides a standard interface to location information, regardless of the underlying technique.

In the Location API, a location provider encapsulates a positioning method and supplies information about the device's location. The application requests a provider by specifying required criteria, such as the desired accuracy and response time. If an appropriate implementation is available, then the application can use it to obtain information about the device's physical location.

You can use the emulator's External Events Generator to specify where the emulator should think it is located. In addition, you can configure the properties of the provider itself, and you can manage a database of landmarks.

In the emulator, open the Tools menu and select External Events Generator. Click the Location tab. Under the Location group, specify values for latitude, longitude, altitude, speed, and course.

Applications that use the Location API can retrieve these values as the location of the emulator. For more elaborate testing, you can set up a location script that describes motion over time. Location scripts are XML files that consist of a list of locations, called waypoints , and associated times. Oracle Java ME SDK 8 determines the current location of the emulator by interpolating between the points in the location script.



0コメント

  • 1000 / 1000