Begin with the class LocationMidlet and the method startApp. These add the UI to the displayed form. The UI displays the current locations, satellite data, and zoom level.
Add the following function to LocationMidlet.java:
Add the ability to get the current location. These values are saved to the attributes latitude and longitude and are displayed on the screen.
Add the following functions to LocationMidlet.java:
Add the implementation to handle actions of commands. TestCommand starts a new thread and returns the new locations. gmCommand displays a map at the current location if the location is known.
Add the following function to LocationMidlet.java:.
Note that no implementation is needed for the methods pauseApp and destroyApp.