A MIDlet lifecycle have following steps...
By default MIDlet is in the paused states. when the application is executed by default startApp() method will call and when close the application the destroyApp() method will be called. But when your constructor is not null type then it will be executed firstly. The source code of life cycle execution is as follows:
import javax.microedition.lcdui.*;
|

Fig: MIDlet Lifecycle
Output:

|
Recommend the tutorial |



Ask Questions? Discuss: Midlet Lifecycle View All Comments
Post your Comment