FileDocCategorySizeDatePackage
MIDletStateListener.javaAPI DocphoneME MR2 API (J2ME)3311Wed May 02 18:00:06 BST 2007com.sun.midp.midlet

MIDletStateListener

public interface MIDletStateListener
The interface decouples the MIDlet state handler for the VM.

Fields Summary
Constructors Summary
Methods Summary
public voidmidletActivated(MIDletSuite suite, javax.microedition.midlet.MIDlet midlet)
Called after a MIDlet is successfully activated. This is after the startApp method is called.

param
suite reference to the loaded suite
param
midlet reference to the MIDlet

public voidmidletCreated(MIDletSuite suite, java.lang.String className, int externalAppId)
Called after a MIDlet is successfully created.

param
suite reference to the loaded suite
param
className Class name of the MIDlet
param
externalAppId ID of given by an external application manager

public voidmidletDestroyed(MIDletSuite suite, java.lang.String className)
Called after a MIDlet is successfully destroyed.

param
suite reference to the loaded suite
param
className class name of the MIDlet

public voidmidletPaused(MIDletSuite suite, java.lang.String className)
Called after a MIDlet is successfully paused.

param
suite reference to the loaded suite
param
className class name of the MIDlet

public voidmidletPausedItself(MIDletSuite suite, java.lang.String className)
Called after a MIDlet pauses itself. In this case pauseApp has not been called.

param
suite reference to the loaded suite
param
className class name of the MIDlet

public voidmidletPreStart(MIDletSuite suite, java.lang.String className)
Called before a MIDlet is created.

param
suite reference to the loaded suite
param
className class name of the MIDlet to be created

public voidpreActivated(MIDletSuite suite, java.lang.String className)
Called before a MIDlet is activated.

param
suite reference to the loaded suite
param
className class name of the MIDlet

public voidresumeRequest(MIDletSuite suite, java.lang.String className)
Called when a MIDlet calls MIDlet resume request.

param
suite reference to the loaded suite
param
className class name of the MIDlet