Before you start
This tutorial takes you through the steps needed to build a location-based services application on a Java ME CDLC 1.1 device using the JSR 179 specification.
The tutorial explains how to install and configure your development environment, then introduces the JSR 179 Location API and takes you through the process of developing a simple location-based application using the Eclipse SDK, the EclipseME plug-in, and the Location API. At the end of the tutorial you learn how to use a mobile phone emulator provided with the Sun Java Wireless Toolkit to test the LBSSample application.
The goal of this tutorial is to teach you how to install and configure a Java ME development environment with a mobile phone emulator testing platform. After completing the tutorial, you should know the capabilities of the JSR 179 Location API and how to use it in your application. You should also be capable of acquiring location information and performing calculations with this data, much as you would with any standard GPS device.
This intermediate-level tutorial is meant for developers with experience developing Java applications using the Eclipse SDK. Because this tutorial is meant to teach you about the JSR 179 Location API, no JSR 179 experience is required.
The example application in this tutorial is built and tested using the Eclipse SDK 3.2, the EclipseME plug-in, and the Sun Java Wireless Toolkit 2.5 beta. Together, these technologies comprise the tutorial's integrated development environment, or IDE. You may use your own IDE configuration if you want; just keep in mind that Connected Limited Device Configuration (CLDC) 1.1 and the Mobile Information Device Profile (MIDP) 2.0 are minimum requirements for the JSR 179 Location API. The Eclipse 3.2 SDK also requires that you have installed the Java Platform, Standard Edition (JSE SDK) 1.5.0.

