Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Developer
nurikabe
Posts: 44
Registered: ‎08-20-2008
My Device: Not Specified
Accepted Solution

Is there a way to prompt users to allow specific api access on app download?

For example, we require access to net_rim_bbapi_phone in part of our app.  Right now the app will prompt the user for access.. unless the user has enough foresight to check "Set application permissions" before downloading and then happens to allow bbapi_phone access by default.

 

It would be nice if we could alert the user specifcially to the fact that we require access to net_rim_bbapi_phone at download.

 

Please use plain text.
Administrator
MSohm
Posts: 14,309
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: Is there a way to prompt users to allow specific api access on app download?

You can use the ApplicationPermissions and ApplicationPermissionsManager classes to allow your application to request the settings it needs.  Have a look at the applicationspermissionsdemo included with the BlackBerry JDE for an example.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.
New Developer
nurikabe
Posts: 44
Registered: ‎08-20-2008
My Device: Not Specified

Re: Is there a way to prompt users to allow specific api access on app download?

Thanks.  So I take it that this must be done in the application itself and cannot be done at the point of download?

 

Please use plain text.
Administrator
MSohm
Posts: 14,309
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: Is there a way to prompt users to allow specific api access on app download?

That is correct.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.