FileDocCategorySizeDatePackage
DummyMIDlet2.javaAPI DocphoneME MR2 API (J2ME)1699Wed May 02 18:00:02 BST 2007com.sun.midp.appmanager

DummyMIDlet2

public class DummyMIDlet2 extends javax.microedition.midlet.MIDlet
A dummy MIDlet that displays set its current displayable to an alert when active and sets its displayable to null when paused.

Fields Summary
Constructors Summary
Methods Summary
public voiddestroyApp(boolean unconditional)

    
public voidpauseApp()

        Display.getDisplay(this).setCurrent(null);
    
public voidstartApp()

        Alert a = new Alert("MIDlet 2");
        a.setTimeout(Alert.FOREVER);
        Display.getDisplay(this).setCurrent(a);