Permissions
Article Metadata
If the application has to access some native functionality like filesystem access, record control etc then the corresponding permissions are to be provided in the JAD file. The use of the permissions comes into effect only after the application is signed.
The permission can be provided by the following JAD entries viz:
- MIDlet-Permissions
- MIDlet-Permissions-Opt
The former is used when the application requires mandatory access to the corresponding APIs provided in the permission. The latter is for those that require only optional access.
Example
- MIDlet-Permissions: javax.microedition.io.Connector.http
- MIDlet-Permissions-Opt: javax.microedition.io.PushRegistry, javax.microedition.media.control.VideoControl.getSnapshot,


(no comments yet)