10-01-2008 04:36 PM
i had developed an application that make http calls periodically. So,when user run our application we check whether PERMISSION_EXTERNAL_CONNECTIONS/PERMISSION_INTERNE
if this permission is not set to allow then programatically we request to set all permission to allow by below statements
ApplicationPermissions appPermissions = ApplicationPermissionsManager.getInstance().getApp
this code is working. after last statement get executed a screen comes up that say something "MyApp is requesting changes to its app control permission" with one "View" button. After i hit that button, Edit permission screen comes up. this is fine with me.but i have seen few strange things
1: in edit permission screen, permission that are set to deny previously are not visible in permissions list. let say if PERMISSION_EXTERNAL_CONNECTIONS is set to deny then "carrier internet" is not visible in permissions list.
2: if user clicks on save, then the permission that are not visible in screen is also set to allow i.e. all permission is set to allow even if the are not visible on screen.
so my question is, this is expected behaviour or not??
thanks in advance
10-02-2008 09:41 AM
10-09-2008 02:29 PM
No policy is locked by a BES administrator. My Device detail is mentioned below
BB model : 8820
10-09-2008 05:04 PM
I think that this is happening because of the way you are setting the permissions.
If you need to set the EXTERNAL_CONNECTION only, you shoud set it as follows:
ApplicationPermissions permRequest = new ApplicationPermissions();
boolean acceptance = ApplicationPermissionsManager.getInstance().invoke
This way the other permissions will not be affected.