Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Pulsar » javax.microedition.pim.ContactList.read lack
javax.microedition.pim.ContactList.read lack [message #574670] Mon, 19 April 2010 19:36 Go to next message
No real name is currently offline No real nameFriend
Messages: 4
Registered: April 2010
Junior Member
I need to add "MIDlet-Permissions-Opt: javax.microedition.pim.ContactList.read" into
my Manifest.mf and midlet.jad files.

There is no any javax.microedition.pim.* security permissions in the "Security Permissions" list
(Application Descriptor->Signing->Optional Permissions->Add).

When i try to modify the value of the MIDlet-Permissions-Opt key on the "User Defined" tab
then Eclipse removes my settings using options from the "Signing" tab.

How to add this permissions?
Is it possible to add them into the "Security Permissions" list?

PS: The list of those six permissions can be found on http://developers.sun.com/mobility/apis/pim/pim3/

My environment:
Pulsar for Mobile Java Developers (Version: 1.2.1.20090918-0703 Build id: 20090920-1017)
Sun JavaME SDK 3.0
Nokia Series 40 6th Edition SDK v1.0
Re: javax.microedition.pim.ContactList.read lack [message #574703 is a reply to message #574670] Tue, 20 April 2010 07:26 Go to previous message
No real name is currently offline No real nameFriend
Messages: 4
Registered: April 2010
Junior Member
Ok. I solved my trouble in this way:

1. in eclipse\plugins\org.eclipse.mtj.core_1.1.0.v200909181641.jar change file plugin.xml

From:

<extension
id="jsr75permissions"
point="org.eclipse.mtj.core.securitypermission">
<class
name="javax.microedition.io.file.FileConnection">
<permission
name="javax.microedition.io.Connector.file.write">
</permission>
<permission
name="javax.microedition.io.Connector.file.read">
</permission>
</class>
</extension>


To:

<extension
id="jsr75permissions"
point="org.eclipse.mtj.core.securitypermission">
<class
name="javax.microedition.io.file.FileConnection">
<permission
name="javax.microedition.io.Connector.file.write">
</permission>
<permission
name="javax.microedition.io.Connector.file.read">
</permission>
</class>
<class
name="javax.microedition.pim">
<permission
name="javax.microedition.pim.ContactList.read">
</permission>
<permission
name="javax.microedition.pim.ContactList.write">
</permission>
<permission
name="javax.microedition.pim.EventList.read">
</permission>
<permission
name="javax.microedition.pim.EventList.write">
</permission>
<permission
name="javax.microedition.pim.ToDoList.read">
</permission>
<permission
name="javax.microedition.pim.ToDoList.write">
</permission>
</class>
</extension>


2. delete eclipse cache file eclipse\configuration\org.eclipse.core.runtime\.mainData.N (where N is a digit)

These steps will add all six javax.microedition.pim.* permissions into the Security Permissions list.

However the Scan functions does not work.
Previous Topic:CLDC 1.0 Emulators
Next Topic:J2ME x Java ME
Goto Forum:
  


Current Time: Fri Dec 19 12:25:07 GMT 2014

Powered by FUDForum. Page generated in 0.01961 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software