Return to Snippet

Revision: 3270
at July 1, 2007 22:04 by javapda


Initial Code
public class FirstMIDlet extends MIDlet { 

    protected void startApp() throws MIDletStateChangeException {
        // the guts/essence of your MIDlet here
    }
    
    protected void pauseApp() {}
    
    protected void destroyApp(boolean arg0) throws MIDletStateChangeException {}

}

Initial URL


Initial Description
When you write an Application for a Sun SPOT you are at the very least writing something called a MIDlet...as in javax.microedition.midlet.MIDlet.  This may look familiar to people who have done J2ME development.

Initial Title
Sun SPOT First Post

Initial Tags


Initial Language
Java