www.SonyEricsson.com ContactDeveloper World   Contact中文
Contact Member Login Contact Register Help Contact Help Search
Currently Being Moderated

Java ME permission attributes in Jad and MANIFEST

VERSION 3

Created on: Feb 12, 2008 1:23 AM by Sony Ericsson Developer Support - Last Modified:  Apr 10, 2008 4:52 AM by Sony Ericsson Developer Support

Here is a list of permissions used for different APIs in Java ME.

The apropriate permission should be added to the Jad and MANIFEST file before the application is signed.

 

Jad / MANIFEST attribute:

MIDlet-Permissions: javax.microedition.io.PushRegistry, javax.microedition.io.Connector.sms

 

Find a list of permission settings in Sony Ericsson phones here >>>

 

Net Access

javax.microedition.io.Connector.http

               javax.microedition.io.Connector.https

               javax.microedition.io.Connector.cbs

               javax.microedition.io.Connector.datagram

               javax.microedition.io.Connector.datagramreceiver

               javax.microedition.io.Connector.socket

               javax.microedition.io.Connector.ssl

               javax.microedition.io.Connector.serversocket

Messaging

javax.microedition.io.Connector.sms

               javax.microedition.io.Connector.mms

               javax.wireless.messaging.cbs.receive

               javax.wireless.messaging.mms.receive

               javax.wireless.messaging.mms.send

               javax.wireless.messaging.sms.receive

               javax.wireless.messaging.sms.send

Application Auto Invocation

javax.microedition.io.PushRegistry

               javax.microedition.content.ContentHandler

Local Connectivity

javax.microedition.io.Connector.comm

               javax.microedition.io.Connector.bluetooth.client

               javax.microedition.io.Connector.bluetooth.server

               javax.microedition.io.Connector.obex.client

               javax.microedition.io.Connector.obex.client.tcp

               javax.microedition.io.Connector.obex.server

               javax.microedition.io.Connector.obex.server.tcp

Multimedia Recording

javax.microedition.media.control.RecordControl

               javax.microedition.media.control.VideoControl.getSnapshot

               javax.microedition.amms.control.camera.enableShutterFeedback

               javax.microedition.amms.control.tuner.setPreset

Read User Data Access

javax.microedition.io.Connector.file.read

               javax.microedition.pim.ContactList.read

               javax.microedition.pim.EventList.read

               javax.microedition.pim.ToDoList.read

Write User Data Access

javax.microedition.io.Connector.file.write

               javax.microedition.pim.ContactList.write

               javax.microedition.pim.EventList.write

               javax.microedition.pim.ToDoList.write

Location

javax.microedition.location.Location

               javax.microedition.location.Orientation

               javax.microedition.location.ProximityListener

Landmark

javax.microedition.location.LandmarkStore.category

               javax.microedition.location.LandmarkStore.management

               javax.microedition.location.LandmarkStore.read

               javax.microedition.location.LandmarkStore.write

Smart card

javax.microedition.apdu.aid

               javax.microedition.apdu.sat

               javax.microedition.jcrmi

Authentication

javax.microedition.securityservice.CMSMessageSignatureService

Call Control

javax.microedition.io.Connector.sip

               javax.microedition.io.Connector.sips

Other

javax.microedition.payment.process

 

 

 

Average User Rating
(14 ratings)
My Rating:




krischik krischik  says:

A Syntax example for the Jar and MANIFEST would be nice.

Sony Ericsson Developer Support Sony Ericsson Developer Support  says in response to krischik:

Hi,

 

There is actually an example at the top.

 

MIDlet-Permissions: javax.microedition.io.PushRegistry, javax.microedition.io.Connector.sms

 

The jad or MANIFEST files can be edited in a text editor but these permissions can commonly be added automatically by the IDE if specified.

 

/Oscar

Sony Ericsson Developer World

farshadas farshadas  says:

When I add "javax.microedition.io.Connector.file.read", installation fails with an "operation Failed" message.

We have a certificate from VeriSign and it all works fine on Nokia phones but then installation fails on Sony Ericsson z750a (from AT&T in US) when setting API file access permissions in JAD.

 

Any clues? Thanks!

Sony Ericsson Developer Support Sony Ericsson Developer Support  says in response to farshadas:

Hi,

 

In some cases operators change the permission domains in the phones. For example in AT&T phones I believe the application must be signed by AT&T to be able to access the phones file system.

 

You can find information about the permission settings used in AT&T phones at the AT&T devCentral.

 

/Oscar

Sony Ericsson Developer World

More Like This

  • Retrieving data ...