Archived:Problems in requesting optional API access with MIDlet-Permissions-Opt (Known Issue)

From Nokia Developer Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

Article Metadata
Tested with
Devices(s): Nokia N95 (firmware version 10.0.018)
and Nokia 6290 (firmware versions 3.03 and 3.04)
Created: User:Technical writer 1 (04 Jun 2007)
Last edited: hamishwillee (22 Oct 2013)


A signed MIDlet can request API permissions in the JAD and manifest files with the MIDlet-Permissions attribute. In addition, the MIDlet can request optional permissions (i.e., permissions, which it would like to have, but which are not absolutely necessary for the MIDlet to work) with the MIDlet-Permissions-Opt attribute.

When the MIDlet requests optional permissions on certain Nokia N95 and Nokia 6290 devices (look for the list of firmware versions above), the permissions are not granted and accessing those APIs will throw SecurityException instead.

This page was last modified on 22 October 2013, at 08:46.
38 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.