Wednesday, November 14, 2007

j2me, Permissions

MIDlets must have permission to perform sensitive operations, like connecting to the network. Permissions have specific names, and MIDlet suites can indicate their need for certain kinds of permissions through attributes in the MIDlet suite descriptor.

In the J2ME Wireless Toolkit, you can add these permission attributes to a project by clicking on the Settings... button in KToolbar. Select the Permissions tab. The MIDlet-Permissions box shows permissions which the MIDlet must possess, while the MIDlet-Permissions-Opt box contains permissions that the MIDlet would like to have but does not need absolutley.

javax.microedition.io.PushRegistry,

javax.wireless.messaging.sms.receive,

javax.wireless.messaging.sms.send,

javax.microedition.io.Connector.sms,

javax.microedition.io.Connector.socket


No comments: