|
Replies:
1
-
Last Post:
Jun 9, 2008 6:29 AM
by: terrencebarr
|
Threads:
[
Previous
|
Next
]
|
|
|
|
|
|
MIDlet states on startup
Posted:
Jun 8, 2008 7:58 AM
|
|
|
I've been reading a bit about MIDlet states and the AMS.
According to what I've read, on starting a MIDlet, it is moved into the Paused state, and then into an Active state by the AMS calling startApp().
My question is, why does it do it in this particular order on the first startup? Why does the MIDlet not just execute the startApp() method and move straight into an Active state without having been in a Paused one?
-David
|
|
|
|
|
|
|
Re: MIDlet states on startup
Posted:
Jun 9, 2008 6:28 AM
in response to: davjoh
|
 |
Correct |
|
|
I guess that is mainly for symmetry reasons. The transition active->paused->active can happen at any later point once the MIDlet is execution so the MIDlet needs to implement these transitions anyway if it requires any special operations going into or coming out of the paused state.
-- Terrence
|
|
|
|
|