×
Namespaces

Variants
Actions
Revision as of 03:10, 25 July 2013 by hamishwillee (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Permissions

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Article
Created: senthil_k (21 Nov 2007)
Last edited: hamishwillee (25 Jul 2013)

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 and in MANIFEST file located inside JAR file. The use of the permissions comes into effect only after the application is signed.

The permission can be provided by the following JAD and MANIFEST entries viz:

  1. MIDlet-Permissions
  2. 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,
This page was last modified on 25 July 2013, at 03:10.
37 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×