Lua SPOT
v1.0

nl.uva.np.luaspot
Class LuaSpot

java.lang.Object
  extended by javax.microedition.midlet.MIDlet
      extended by nl.uva.np.luaspot.LuaSpot

public class LuaSpot
extends javax.microedition.midlet.MIDlet

The startApp method of this class is called by the VM to start the application. The manifest specifies this class as MIDlet-1, which means it will be selected for execution.


Constructor Summary
LuaSpot()
           
 
Method Summary
protected  void destroyApp(boolean unconditional)
          Called if the MIDlet is terminated by the system.
protected  void pauseApp()
           
protected  void startApp()
           
 
Methods inherited from class javax.microedition.midlet.MIDlet
getAppProperty, notifyDestroyed, notifyPaused, resumeRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LuaSpot

public LuaSpot()
Method Detail

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 unconditional)
                   throws javax.microedition.midlet.MIDletStateChangeException
Called if the MIDlet is terminated by the system. I.e. if startApp throws any exception other than MIDletStateChangeException, if the isolate running the MIDlet is killed with Isolate.exit(), or if VM.stopVM() is called. It is not called if MIDlet.notifyDestroyed() was called.

Specified by:
destroyApp in class javax.microedition.midlet.MIDlet
Parameters:
unconditional - If true when this method is called, the MIDlet must cleanup and release all resources. If false the MIDlet may throw MIDletStateChangeException to indicate it does not want to be destroyed at this time.
Throws:
javax.microedition.midlet.MIDletStateChangeException

Lua SPOT
v1.0