Hi,
I developed a Midlet application which will send and receive SMS, I singed my Midlet using Thawte.
After installing the application to the phone, I have to manually give SMS permission.
How can I give SMS permission programmatically?
Thanks.
Hi,
I developed a Midlet application which will send and receive SMS, I singed my Midlet using Thawte.
After installing the application to the phone, I have to manually give SMS permission.
How can I give SMS permission programmatically?
Thanks.
You can set the required SMS permission in the JAD file with the help of your ide or Sun WTK and then sign the build, but still you may need to educate the end user to go to application settings and set the required permissions as "Always Allowed" or "Ask only once".
Thanks,
Ekta
Signing would remove the security permission messages, but user have to manually modify it.
Pls see API Access rights in real devices available in the URL http://wiki.forum.nokia.com/index.ph...on_real_phones
Users have to manually modify this in settings(How to change the Java API access settings is also mentioned in the above URL) ; if you want to provide better usability, you can show an alert to the user during application startup on how to change the API access settings. It would be good to show this alert to the user during app startup till the user changes the settings.There is a J2ME API call to check the permissions:
public final int checkPermission(String permission)
Detailed info please check: http://java.sun.com/javame/reference...et/MIDlet.html
On re-launch of the application, if the permissions are not set, detect this and display the instructions again. If permissions are set, then proceed with the normal application.
Regards
Gopal