Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Location API for Java ME

From Wikipedia, the free encyclopedia
Physical location application interface

TheLocation API for Java ME is a compact and genericJava 2 MEAPI that produces information about the device's present physical location to Java applications. This API can be optionally supported bymobile phone andPDA manufacturers, with the minimum Java platform required for this API beingCLDC v1.1.

The Location API was developed under theJava Community Process as JSR 179, released in September 2003 and updated to version 1.0.1 in March 2006.Nokia is the main author and maintainer of thisJSR.

OpenLAPI is anLGPL implementation for use in emulator environments where the Nokia reference implementation does not exist and for devices which can access aGPS device overBluetooth.

Features

[edit]

The Location API is designed to work with many different positioning methods. Generic interfaces lets application developers implement systems that can retrieve location data from multiple sources, based on their availability on the device. It has advantages over a single means of tracking, including fail-over, indoor/outdoor transparency, and a choice between the speed and accuracy trade-offs betweenGPS, cellular, or other positioning methods. The API supports:[1]

  • Current location - currentlatitude,longitude,altitude,direction, andspeed of the phone, and methods to convert it totext.
  • Landmark proximity - a store of landmarks can be stored on the phone's memory, and the current location can be added as a landmark.
  • Address data - the nearest landmark's textual details, such as postal address, phone number, country, and the building and its URL.[2]
  • Location listeners - for dynamic location-based applications that will be triggered by when the current location changes.

The Location API does not support:

  • Topological data - which is usually derived from the shapes of cell site coverage.
  • Location-based queries - although the current location of the device can be calculated.

Device independence

[edit]

Previously, location service implementations were provider specific. The aim of this API was to provide a common API for retrieving the location information on a variety of devices.

OpenLAPI supports several back-ends:

along with device specific wrappers.

Support

[edit]

Since many providers choose not to implement this optional JSR, the goal of universality has still not happened and developers are often required to create custom builds for different devices.

The Location API is available to Java applications on someBlackBerry andWindows Mobile devices, recentMotorola andSony Ericsson devices, and allNokiaSeries 60 3rd Edition devices.

References

[edit]
  1. ^Dr. Dobb's 2006 - The Java Location API
  2. ^Dr. Dobb's 2006 - The Java Location API - Address Information

External links

[edit]
Retrieved from "https://en.wikipedia.org/w/index.php?title=Location_API_for_Java_ME&oldid=1097141810"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp