![](/images/new-backgrounds/1119971/11997169x1.webp)
TC65 JAVA User's Guide
Strictly confidential / Released
s
Table 5: A typical sequence of MIDlet execution
Application Management Software | MIDlet |
|
|
The application management software creates a new instance of a MIDlet.
The default (no argument) constructor for the MIDlet is called; it is in the Paused state.
The application management software has decided that it is an | The | MIDlet | acquires | any |
appropriate time for the MIDlet to run, so it calls the | resources it needs and begins to | |||
MIDlet.startApp method for it to enter the Active state. | perform its service. |
| ||
|
|
|
|
|
The application management software no longer needs the | The MIDlet stops performing its | |||
application be active, so it signals it to stop performing its service | service and might choose to | |||
by calling the MIDlet.pauseApp method. | release | some | resources | it |
| currently holds. |
|
| |
|
|
|
|
|
The application management software has determined that the If it has been designed to do so, MIDlet is no longer needed, or perhaps needs to make room for a the MIDlet saves state or user higher priority application in memory, so it signals the MIDlet that preferences and performs clean it is a candidate to be destroyed by calling the up.
MIDlet.destroyApp method.
TC65 JAVA User's Guide_V05 | Page 35 of 90 | 26.09.2005 |