×
Namespaces

Variants
Actions
Revision as of 08:37, 28 June 2012 by hamishwillee (Talk | contribs)

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)
Compatibility
Platform(s): S60 3rd Edition FP1
S60 3rd Edition FP1
MIDP 2.0
Article
Created: User:Technical writer 1 (04 Jun 2007)
Last edited: hamishwillee (28 Jun 2012)

Description

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.

61 page views in the last 30 days.