FileDocCategorySizeDatePackage
MIDletProxyListListener.javaAPI DocphoneME MR2 API (J2ME)2802Wed May 02 18:00:06 BST 2007com.sun.midp.main

MIDletProxyListListener

public interface MIDletProxyListListener
A listener interface for processing MIDlet proxy list changes and additions.

Fields Summary
static final int
MIDLET_STATE
Field ID for the midletState.
static final int
WANTS_FOREGROUND
Field ID for the wantsForegroundState.
static final int
ALERT_WAITING
Field ID for the alertWaiting.
static final int
PREEMPTING_DISPLAY
Field ID for the PREEMPTING_DISPLAY.
static final int
RESOURCES_SUSPENDED
Field ID for the resources suspend notification.
Constructors Summary
Methods Summary
public voidmidletAdded(MIDletProxy midlet)
Called when a MIDlet is added to the list.

param
midlet The proxy of the MIDlet being added

public voidmidletRemoved(MIDletProxy midlet)
Called when a MIDlet is removed from the list.

param
midlet The proxy of the removed MIDlet

public voidmidletStartError(int externalAppId, int suiteId, java.lang.String className, int errorCode, java.lang.String errorDetails)
Called when error occurred while starting a MIDlet object.

param
externalAppId ID assigned by the external application manager
param
suiteId Suite ID of the MIDlet
param
className Class name of the MIDlet
param
errorCode start error code
param
errorDetails start error details

public voidmidletUpdated(MIDletProxy midlet, int fieldId)
Called when the state of a MIDlet in the list is updated.

param
midlet The proxy of the MIDlet that was updated
param
fieldId code for which field of the proxy was updated, see constants above