12-11-2012 05:29 AM
We need access to restricted functionality on the device. The device permissions the application requires can be specified in the BAR application descriptor file.
Is there a way to check if permissions are denied or allowed by the user?
The API provides a class ApplicationPermissions.
#include <bb/platform/bbm/ApplicationPermissions>Solved! Go to Solution.
12-11-2012 09:08 AM
12-11-2012 09:39 AM
Okay, thanks.
Hopefully, the API comes with the next release of the Native SDK. Unfortunately, the exceptions which will be thrown are not documented. So, there is no known exception to react on. For instance, if a network request fails because of missing permissions we want to show a popup. Showing this popup always when an exception is thrown can be wrong.
12-11-2012 09:44 AM