org.placelab.midp.demo
Class MapDemoMidlet
java.lang.Object
javax.microedition.midlet.MIDlet
org.placelab.midp.demo.MapDemoMidlet
- All Implemented Interfaces:
- javax.microedition.lcdui.CommandListener
- public class MapDemoMidlet
- extends javax.microedition.midlet.MIDlet
- implements javax.microedition.lcdui.CommandListener
This is the XMapDemo MidLet which is the entry point for showing position
estimates on a map. Map information is loaded from a text file which contains
the image location, and lat/lon coordinates for the bottom left and top right
corners of the image.
|
Field Summary |
static java.lang.String |
AREA
|
static java.lang.String |
LEFTLAT
|
static java.lang.String |
LEFTLON
|
static java.lang.String |
MAP
|
static java.lang.String |
MAPFILE
|
static java.lang.String |
RIGHTLAT
|
static java.lang.String |
RIGHTLON
|
| Methods inherited from class javax.microedition.midlet.MIDlet |
checkPermission, getAppProperty, notifyDestroyed, notifyPaused, platformRequest, resumeRequest |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAPFILE
public static final java.lang.String MAPFILE
- See Also:
- Constant Field Values
AREA
public static final java.lang.String AREA
- See Also:
- Constant Field Values
MAP
public static final java.lang.String MAP
- See Also:
- Constant Field Values
LEFTLAT
public static final java.lang.String LEFTLAT
- See Also:
- Constant Field Values
LEFTLON
public static final java.lang.String LEFTLON
- See Also:
- Constant Field Values
RIGHTLAT
public static final java.lang.String RIGHTLAT
- See Also:
- Constant Field Values
RIGHTLON
public static final java.lang.String RIGHTLON
- See Also:
- Constant Field Values
MapDemoMidlet
public MapDemoMidlet()
waitForAlert
public void waitForAlert(java.lang.String str)
destroyApp
protected void destroyApp(boolean arg0)
throws javax.microedition.midlet.MIDletStateChangeException
- Throws:
javax.microedition.midlet.MIDletStateChangeException
startApp
protected void startApp()
throws javax.microedition.midlet.MIDletStateChangeException
- Throws:
javax.microedition.midlet.MIDletStateChangeException
pauseApp
protected void pauseApp()
commandAction
public void commandAction(javax.microedition.lcdui.Command c,
javax.microedition.lcdui.Displayable d)
- Specified by:
commandAction in interface javax.microedition.lcdui.CommandListener
setHome
public void setHome()