org.placelab.midp.stumbler
Class StumblerMidlet
java.lang.Object
javax.microedition.midlet.MIDlet
org.placelab.midp.stumbler.StumblerMidlet
- All Implemented Interfaces:
- javax.microedition.lcdui.CommandListener, StumblerListener, UIComponent
- public class StumblerMidlet
- extends javax.microedition.midlet.MIDlet
- implements javax.microedition.lcdui.CommandListener, StumblerListener, UIComponent
This is the phone stumbler midlet which is the entry point for stumbling, analyzing
stumble logs, and downloading/uploading map data.
|
Field Summary |
java.lang.StringBuffer |
stb
|
| 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 |
stb
public java.lang.StringBuffer stb
StumblerMidlet
public StumblerMidlet()
throws java.io.IOException
start
public void start()
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
showUI
public void showUI(UIComponent from)
- Description copied from interface:
UIComponent
- used by one component to activate another component
- Specified by:
showUI in interface UIComponent
pauseApp
protected void pauseApp()
startStumbling
protected void startStumbling(boolean useGPS)
commandAction
public void commandAction(javax.microedition.lcdui.Command c,
javax.microedition.lcdui.Displayable d)
- Specified by:
commandAction in interface javax.microedition.lcdui.CommandListener
gotMeasurement
public void gotMeasurement(Measurement[] meas)
- Specified by:
gotMeasurement in interface StumblerListener
alert
public static void alert(java.lang.String str)