| java.lang.Object com.sun.midp.main.NativeAppManagerPeer
Field Summary | |
final static int | MAIN_EXIT | static boolean | alreadyCalled If true, the main of this class has already been called. |
Method Summary | |
public static void | main(String args) Called at the initial start of the VM. | public void | midletAdded(MIDletProxy midlet) Called when a MIDlet is added to the list. | public void | midletRemoved(MIDletProxy midlet) Called when a MIDlet is removed from the list. | public void | midletStartError(int externalAppId, int suiteId, String className, int errorCode, String errorDetails) Called when error occurred while starting a MIDlet object. | public void | midletUpdated(MIDletProxy midlet, int fieldId) Called when the state of a MIDlet in the list is updated. | public void | midpResumed() Called if MIDP system has been resumed. | public void | midpSuspended() Called if MIDP system has been suspended. | public boolean | preprocess(Event event, Event waitingEvent) Preprocess an event that is being posted to the event queue. | public void | process(Event event) Process an event. | public void | suiteTerminated(int suiteId) Called when a suite isolate is terminated. |
MAIN_EXIT | final static int MAIN_EXIT(Code) | | return value from Main, so we know that Main exited normally
|
alreadyCalled | static boolean alreadyCalled(Code) | | If true, the main of this class has already been called.
|
main | public static void main(String args)(Code) | | Called at the initial start of the VM.
Initializes internal security and any other AMS classes related
classes before starting the MIDlet.
Parameters: args - not used |
midletAdded | public void midletAdded(MIDletProxy midlet)(Code) | | Called when a MIDlet is added to the list.
Parameters: midlet - The proxy of the MIDlet being added |
midletRemoved | public void midletRemoved(MIDletProxy midlet)(Code) | | Called when a MIDlet is removed from the list.
Parameters: midlet - The proxy of the removed MIDlet |
midletStartError | public void midletStartError(int externalAppId, int suiteId, String className, int errorCode, String errorDetails)(Code) | | Called when error occurred while starting a MIDlet object.
Parameters: externalAppId - ID assigned by the external application manager Parameters: suiteId - Suite ID of the MIDlet Parameters: className - Class name of the MIDlet Parameters: errorCode - start error code Parameters: errorDetails - start error details |
midletUpdated | public void midletUpdated(MIDletProxy midlet, int fieldId)(Code) | | Called when the state of a MIDlet in the list is updated.
Parameters: midlet - The proxy of the MIDlet that was updated Parameters: fieldId - code for which field of the proxy was updated |
midpResumed | public void midpResumed()(Code) | | Called if MIDP system has been resumed.
|
midpSuspended | public void midpSuspended()(Code) | | Called if MIDP system has been suspended.
|
preprocess | public boolean preprocess(Event event, Event waitingEvent)(Code) | | Preprocess an event that is being posted to the event queue.
This method will get called in the thread that posted the event.
Parameters: event - event being posted Parameters: waitingEvent - previous event of this type waiting in thequeue to be processed true to allow the post to continue, false to not post theevent to the queue |
process | public void process(Event event)(Code) | | Process an event.
This method will get called in the event queue processing thread.
Parameters: event - event to process |
suiteTerminated | public void suiteTerminated(int suiteId)(Code) | | Called when a suite isolate is terminated.
Parameters: suiteId - ID of the suite |
|
|