net.landspurg.test
Class SimpleMapMidlet
java.lang.Object
javax.microedition.midlet.MIDlet
net.landspurg.test.SimpleMapMidlet
public class SimpleMapMidlet
- extends javax.microedition.midlet.MIDlet
Just a simple usage of the MapCanvas...
Create the Canvas, and allows the user to scroll on top of it...
Note: by default this is CLDC1.1 compatible.
The library could run in both CLDC1.0 or CLDC1.1, but float usage
has been optimized to reduce memory consuption in CLDC1.1
| Methods inherited from class javax.microedition.midlet.MIDlet |
checkPermission, getAppProperty, notifyDestroyed, notifyPaused, platformRequest, resumeRequest |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleMapMidlet
public SimpleMapMidlet()
found
public void found(double inlon,
double inlat,
double alt,
double dir,
double speed,
long stamp,
boolean isValid)
oneLocationSelected
public boolean oneLocationSelected(MapCanvas c,
OneLoc theLoc)
startApp
protected void startApp()
throws javax.microedition.midlet.MIDletStateChangeException
- Specified by:
startApp in class javax.microedition.midlet.MIDlet
- Throws:
javax.microedition.midlet.MIDletStateChangeException
pauseApp
protected void pauseApp()
- Specified by:
pauseApp in class javax.microedition.midlet.MIDlet
destroyApp
protected void destroyApp(boolean arg0)
throws javax.microedition.midlet.MIDletStateChangeException
- Specified by:
destroyApp in class javax.microedition.midlet.MIDlet
- Throws:
javax.microedition.midlet.MIDletStateChangeException