|
An example of MIDlet skeleton |
|
|
How should your MIDlet skeleton should look like. A MIDlet must
have a public default constructor (that is, a constructor that
requires no arguments), that are used for any initialization to
perform or, when there are no explicit constructors, the empty
default constructor is inserted by the Java compiler.
public class MyMIDlet extends MIDlet {
// Optional constructor
MyMIDlet( ) {
}
protected void startApp( ) throws MIDletStateChangedException {
}
protected void pauseApp( ) {
}
protected void destroyApp(boolean unconditional)
throws MIDletStateChangedException {
}
}
|
Related Tips
|
Page 1 of 0 ( 0 comments )
You can share your information about this topic using the form below!
Please do not post your questions with this form! Thanks.