Methods Summary |
---|
public java.lang.String | getMIDletClassName()Gets name of the class implementing MIDlet interface
for this MIDlet.
suite.guaranteeSuiteValid("getMIDletClassName");
return midletInfo.classname;
|
public java.lang.String | getMIDletName()Gets MIDlet's name.
suite.guaranteeSuiteValid("getMIDletName");
return midletInfo.name;
|
public AutoSuiteDescriptor | getSuiteDescriptor()Gets MIDlet's suite descriptor.
return suite;
|
void | midletDestroyed()Called when MIDlet corresponding to this suite gets destroyed
synchronized (midletStartLock) {
isStarted = false;
}
|
public AutoMIDlet | start(java.lang.String[] args)Starts this MIDlet.
suite.guaranteeSuiteValid("start");
AutoMIDlet midlet = null;
synchronized (midletStartLock) {
if (isStarted) {
throw new RuntimeException("MIDlet is already started");
}
AutoMIDletStateController stateController =
AutoMIDletStateController.getMIDletStateController();
midlet = stateController.startMIDlet(this, args);
isStarted = true;
}
return midlet;
|