Forum Nokia
Nokia Connecting People

Login Register

 

Home: Resources: Technologies: Location Based Services: Location-based Java ME applications

Location-based Java ME applications

The Location API for JavaTM Platform, Micro Edition (Java™ ME) (JSR-179) is an optional package that can be used with many Java ME profiles. The minimum platform for JSR-179 use is Connected Limited Device Configuration (CLDC) 1.1, because the API requires floating-point math support. The API is supported from S60 3rd Edition onwards and also in some Nokia Series 40 CDMA devices.

The purpose of the Location API is to enable the development of location-based mobile applications. Considering the nature of mobile devices, the Location API provides a natural way to utilize location-based information. Moreover, the Location API is a compact package of classes and interfaces that are easy to use. The three main features that the Location API brings to mobile programming are:

  • The ability to obtain information about the location of a device;
  • The possibility of creating, editing, storing, and retrieving landmarks;
  • The possibility of obtaining the orientation of a device.

The Location API needs a connection to a location-providing method, which generates the locations. Location-providing methods differ from one another in many ways. For example, some methods may cost more to use than others, and the accuracies supported by individual location-providing methods will vary. The most common methods are device-based (for example, GPS module, a method based on a Global Positioning System's satellites), network-based (for example, cell of origin, a method in which the network determines a user's place), or hybrid (for example, A-GPS, a GPS method that also uses network-based information to speed up location determination).

More information on the Location API is provided in the Java ME Developer's Library.

MIDP: Location API Example - Tourist Route demonstrates usage of the Location API in practice.

Back to top

Learn how to
download applications

java symbian_os s60 maemo c++

Community highlights

Discussion thread of the week

S60 5th Ed UI Touch and Sensors

Champion of the month

Alessandro Pace
Read more about
Alessandro on the
Champions web site.

Newsletter sign up

Privacy policy   Archives

Press

Events

Forum Nokia feed

  • Latest devices
  • Latest documents
  • Latest tools
  • Latest blog entries

Terms & Conditions | Privacy policy | Site map | Developer feedback | © Nokia 2008


RDF Facets:


qdcZcoverageQUxhttpE3AE2FE2FforumE2EnokiaE2EcomE2FX
qdcZtypeQUqfnZE45E78cludedFromGeneralE4CistingsQ
qdcZtypeQUqfnTypeZE52esourceQ
qdcZtypeQUqfnTypeZWebpageQ
qdcZtypeQUqmarsZManagedE52esourceQ
qdcZtypeQUqwebZInformationE52esourceQ
qdcZtypeQUqwebZPageQ
qdcZtypeQUqrdfsZE52esourceQ
qfnZdistributionQUxhttpE3AE2FE2FforumE2EnokiaE2EcomE2FX
qfnZtypeQUqfnTypeZE52esourceQ
qfnZtypeQUqfnTypeZWebpageQ
qfnZtypeQUqmarsZManagedE52esourceQ
qfnZtypeQUqwebZInformationE52esourceQ
qfnZtypeQUqwebZPageQ
qfnZtypeQUqrdfsZE52esourceQ
qmarsZlanguageQUxhttpE3AE2FE2FswE2EnokiaE2EcomE2FlanguageE2D1E2FenX
qrdfZtypeQUqfnZE45E78cludedFromGeneralE4CistingsQ
qrdfZtypeQUqfnTypeZE52esourceQ
qrdfZtypeQUqfnTypeZWebpageQ
qrdfZtypeQUqmarsZManagedE52esourceQ
qrdfZtypeQUqwebZInformationE52esourceQ
qrdfZtypeQUqwebZPageQ
qrdfZtypeQUqrdfsZE52esourceQ