Fields Summary |
---|
public static final int | UNUSED_SUITE_IDSuite ID that is never used. |
public static final int | INTERNAL_SUITE_IDSuite ID used for internal midlet suites. |
public static final String | JAR_MANIFESTFilename of Manifest inside the application archive. |
public static final String | DATA_SIZE_PROPMIDlet property for the size of the application data. |
public static final String | JAR_SIZE_PROPMIDlet property for the size of the application archive. |
public static final String | JAR_URL_PROPMIDlet property for the application archive URL. |
public static final String | SUITE_NAME_PROPMIDlet property for the suite name. |
public static final String | VENDOR_PROPMIDlet property for the suite vendor. |
public static final String | VERSION_PROPMIDlet property for the suite version. |
public static final String | DESC_PROPMIDlet property for the suite description. |
public static final String | CONFIGURATION_PROPMIDlet property for the microedition configuration. |
public static final String | PROFILE_PROPMIDlet property for the profile. |
public static final String | RUNTIME_EXEC_ENV_PROPMIDlet Runtime Execution Environment (MIDP.CLDC by default) |
public static final String | RUNTIME_EXEC_ENV_DEFAULTDefault value for the Runtime-Execution-Environment property |
public static final String | PERMISSIONS_PROPMIDlet property for the required permissions. |
public static final String | PERMISSIONS_OPT_PROPMIDlet property for the optional permissions. |
Methods Summary |
---|
public void | checkForPermission(int permission, java.lang.String resource)Check for permission and throw an exception if not allowed.
May block to ask the user a question.
|
public void | checkForPermission(int permission, java.lang.String resource, java.lang.String extraValue)Checks for permission and throw an exception if not allowed.
May block to ask the user a question.
|
public void | checkIfPermissionAllowed(int permission)Check to see the suite has the ALLOW level for specific permission.
This is used for by internal APIs that only provide access to
trusted system applications.
Only trust this method if the object has been obtained from the
Scheduler of the suite.
|
public int | checkPermission(java.lang.String permission)Get the status of the specified permission.
If no API on the device defines the specific permission
requested then it must be reported as denied.
If the status of the permission is not known because it might
require a user interaction then it should be reported as unknown.
|
public void | close()Close the opened MIDletSuite
|
public int | getID()Gets the unique ID of the suite.
|
public java.lang.String | getMIDletName(java.lang.String className)Get the name of a MIDlet to display to the user.
|
public byte[] | getPermissions()Gets list of permissions for this suite.
|
public java.lang.String | getProperty(java.lang.String key)Get a property of the suite. A property is an attribute from
either the application descriptor or JAR Manifest.
|
public byte | getPushInterruptSetting()Gets push setting for interrupting other MIDlets.
Reuses the Permissions.
|
public int | getPushOptions()Gets push options for this suite.
|
public boolean | isEnabled()Determine if the a MIDlet from this suite can be run. Note that
disable suites can still have their settings changed and their
install info displayed.
|
public boolean | isRegistered(java.lang.String midletClassName)Indicates if the named MIDlet is registered in the suite
with MIDlet-<n> record in the manifest or
application descriptor.
|
public boolean | isTrusted()Indicates if this suite is trusted.
(not to be confused with a domain named "trusted",
this is used for extra checks beyond permission checking)
|
public boolean | isVerified()Check whether the suite classes are preverified and
the suite content hasn't been changed since installation
|
public boolean | permissionToInterrupt(java.lang.String connection)Ask the user want to interrupt the current MIDlet with
a new MIDlet that has received network data.
|
public void | setTempProperty(com.sun.midp.security.SecurityToken token, java.lang.String key, java.lang.String value)Replace or add a property to the suite for this run only.
|