java-memidpj2mepolishjsr82

Alternate way for setting permissions for J2me application


Currently I am using jad to set the http and Bluetooth permissions.

But I have a problem with this approach. Some of the handsets does not have support for bluetooth API, so the phone is not allowing the installation of the application as it does not support the bluetooth API.

Is there any alternate way of setting these permissions?


Solution

  • This is the solution:

    MIDlet-Permissions-Opt: javax.microedition.io.Connector.bluetooth.client 
    

    This is how you can specify optional permission.