Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 07:20, 25 September 2007.

KIJ000644 - Problems in requesting optional API access with MIDlet-Permissions-Opt

From Forum Nokia Wiki

Problems in requesting optional API access with MIDlet-Permissions-Opt KIJ000644
Overview -
Category Java
Subcategory MIDP1.0/2.0
Reported against S60 3rd Edition, FP1, Nokia N95 (firmware version 10.0.018)
and Nokia 6290 (firmware versions 3.03 and 3.04)
Date identified June 4, 2007
Symptoms -
Detailed 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.
How to reproduce -
Solution -
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZKnowledgeBaseContentQ
     qfnZtypeQUqfnTypeZKnownIssueQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX