java - Strange Blackberry Issue - New Build Suddenly Requesting Permission Access -


During my app development test, I'm running on a strange issue where the new uniform build code (create 2.0)

Description - The same code base
So there are two builds, the same code base with both. Build 1.0 was created last week / signed. Build 2.0 was created / signed yesterday. If I install Build 1.0, no problems with initial permissions (Allow All). But the same permission (carrier Internet, GPS) is set to the prompt at the install of Build 2.0.

Question
AP GPS & amp; Data requests and I understand that permission to set up some phone configurations requires permission, but a build why the permissions (build 1.0) was not required, suddenly requires 2.0 (Build 2.0)?

I think this may be with my project / build settings but I'm not sure what happened is there any suggestions?

Is it possible that you did something between 1.0 and 2.0 on your device which caused this , Like running your firewall?

As far as I know, you can not do anything when setting, setting, downloading or installing the permissions for an app or to query.

You can try to insert the following snippet of code at the beginning of your application; Take a peek at what settings are set to actually set:

  ApplicationPermissionsManager APM = ApplicationPermissionsManager.getInstance (); ApplicationsRemove Permissions = apm.getApplicationPermissions (); Int [] key = permissions. For (int i = 0; i & lt; keys.lamp; i ++) {int key = keys [i]; System.out.println ("APM:" + + key = "= PermissionsString (Permissions. Getprimation (Key));}  

and:

  Public string permissions (int value) {switch (value) {case ApplicationPermissions.VALUE_ALLOW: "Allow"; Case Application Presentation. VALUE_PROMPT: Return "PROMPT"; Case Application Submissions. VALUE_DENY: Return "Danny"; Case -1: Refund "NOT_SET"; Default: Return Integer.toString (value);}}  

In the directory of the JDI samples, "Application Permission Dimose" Prog A good example of inquiry to app permissions in RAM and requesting app changes permissions from app itself.


Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -