Blackberry Permission Questions - "Prompt" acts differently on different devices
Posted
by AtariPete
on Stack Overflow
See other posts from Stack Overflow
or by AtariPete
Published on 2009-07-01T18:37:28Z
Indexed on
2010/04/13
10:02 UTC
Read the original article
Hit count: 416
I have a few questions about permissions and prompts. Most importantly this has to do with making a data connection and using GPS
QUESTIONS
1. Prompts & Allow - Remove Notice?: When installing my app (signed) on various devices, some devices prompt the user about making a data connection and some do not (the connection is just made). I check the permissions, and on both devices they are data connection is set to prompt. Why would one device just make a connection and the other requires a prompt? NOTE: both devices are on the same carrier (verision) and and are not restricted by BES.
2. Premission Dialog in Recent Build: In the recent build the user is promted about allowing a data request. In previous version builds this pompt never occured (even though both builds make a data connection that might require a prompt). For the life of me I can't tell what I might have changes that resulted in pompts now occuring. Is there anything I should check in the build/project/files so these prompts wont appear any longer?
3. Set Permissions On Install?: Is there any way to enforce permissions (say to allow) on install of the app? I know I can do invokePermissionsRequest but that will then occur during when running the app. Ideally I'd like to get permissions settled without user involvement or during install.
Some facts to note:
- Developing for 4.2.1 and above
- Apps are signed
- Apps make use of data connection and GPS
Thanks in advance!
© Stack Overflow or respective owner