Motorola C370 Series Technical Manual page 26

J2me developer guide
Hide thumbs Also See for C370 Series:
Table of Contents

Advertisement

initializing state variables and preparing to be run in its constructor or startApp()
methods, it may appear to be stalled to users.
The flow below depicts MIDlet State Transitions.
Running
Running
Application
Application
notifyDestroyed()
notifyDestroyed()
The following table shows MIDlet State Transition methods.
Method
Constructor
startApp()
Application
Application
Constructor
Constructor
pauseApp()
pauseApp()
destroyApp()
destroyApp()
Caller
Purpose
AMS
Initializes the MIDlet – should return quickly
AMS
The startApp() method is called to start the
application either from a newly constructed state or from a
paused state.
If the startApp() is called from a paused state, the
MIDlet should not re-initialize the instance variables(unless
it is the desired behavior).
The startApp() method may be called multiple times
during the lifespan of the MIDlet.
The MIDlet may set the current display to its own
Displayable from the startApp() method, but is shown
only after the startApp() returns.
When exiting a paused application, the KVM calls
startApp() first followed by a call to
destroyApp()
Starting
Starting
startApp()
startApp()
Exit
Exit
Application
Application
Paused
Paused
Application
Application

Advertisement

Table of Contents
loading

This manual is also suitable for:

C450 seriesC550 series

Table of Contents