| |
|
| java.lang.Object javax.microedition.midlet.MIDlet com.sun.midp.scriptutil.HttpJadInstaller
HttpJadInstaller | public class HttpJadInstaller extends MIDlet implements Runnable(Code) | | Installs/Updates a suite, prints out the result and parameters to
run the first MIDlet of the suite using runMidlet. Upon success
write to standard output the suite ID and class name of the first
MIDlet enclosed by brackets. ["suiteID" "class name"]
The MIDlet uses these application properties as arguments:
- arg-0: URL for the suite
- arg-1: Used to override the default domain used when installing
an unsigned suite. The default is maximum to allow the runtime API tests
be performed automatically without tester interaction. The domain name
may be followed by a colon and a list of permissions that must be allowed
even if they are not listed in the MIDlet-Permissions attribute in the
application descriptor file. Instead of the list a keyword "all" can be
specified indicating that all permissions must be allowed, for example:
operator:all.
|
HttpJadInstaller | public HttpJadInstaller()(Code) | | Create and initialize the MIDlet.
|
destroyApp | public void destroyApp(boolean unconditional)(Code) | | Destroy cleans up.
Parameters: unconditional - is ignored; this object alwaysdestroys itself when requested. |
getFirstMIDletOfSuite | static MIDletInfo getFirstMIDletOfSuite(int suiteId)(Code) | | Returns the information of the first MIDlet of the newly installed
suite.
Parameters: suiteId - ID of the MIDlet Suite an object with the class name and display name ofthe suite's MIDlet-1 property |
handleInstallerException | static void handleInstallerException(Throwable ex)(Code) | | Handles an installer exceptions.
Parameters: ex - exception to handle |
messageForInvalidJadException | static String messageForInvalidJadException(InvalidJadException ije)(Code) | | Returns the associated message for the given exception.
This function is here instead of in the exception its self because
it not need on devices, it needed only on development platforms that
have command line interface.
Parameters: ije - reason reason code for the exception associated message for the given reason |
pauseApp | public void pauseApp()(Code) | | Pause; there are no resources that need to be released.
|
run | public void run()(Code) | | Install a MIDlet suite.
|
startApp | public void startApp()(Code) | | Start.
|
|
|
|