11-22-2010 12:17 PM
In my BlackBerry app, I invoke a permission request for RECORDING feature
for the app when it is first launched.
It works fine with BlackBerry Storm.
However, when I install and run the app on BlackBerry Torch, after the app asked permission for Recording, it popups a dialog box about Application Permission Request as follow:
"Some applications do not function properly unless they are given the permission they request; however, allowing applications the following permissions may impact your privacy, security, or cost.
Personal Information
This includes content such as your email address, contact information, audio files, video files, and other saved files. Some application might share your personal information with third parties."
There is only a button "Save" for this dialog box. The app DOES NOT collect user information. Do you know why users have this Personal Information message? How to disable this? What shall I explain to users about this message?
11-23-2010 03:42 AM
use
http://www.blackberry.com/developers/docs/6.0.0api
12-15-2010 03:26 PM - edited 12-15-2010 03:45 PM
Hi,
I'm not sure you are right ... The ReasonProvider was COMPLETELLY IGNORED for Torch & Style devices .... at least on the first permissons screen .. may be it helps at the time of invocation of some restricted methods .. but not on the first run ....
Well .. It's hard to believe that RIM set ApplicationPermissions.PERMISSION_RECORDING to be Personal permission ... but looks like they did ...
manager.addReasonProvider(ApplicationDescriptor.cu
new net.rim.device.api.applicationcontrol.ReasonProvid
{
public String getMessage(int permissionID)
{
String message = null;
// Set specific messages for specific permission IDs
switch (permissionID)
{
case ApplicationPermissions.PERMISSION_BLUETOOTH:
return HRes.GET(RES_PERM_BT); //"Bluetooth Communication required for connection with Bluetooth enabled devices";
case ApplicationPermissions.PERMISSION_IDLE_TIMER:
return HRes.GET(RES_PERM_IDLE_TIMER);// "Timer is required to run reminders and scheduled tasks";
// 4.2 only - depricated : ApplicationPermissions.PERMISSION_EXTERNAL_CONNECT
case ApplicationPermissions.PERMISSION_INTERNET :
return HRes.GET(RES_PERM_INTERNET);//"Internet Communication required for connection with Server";
//4.2 only - depricated : ApplicationPermissions.PERMISSION_INTERNAL_CONNECT
case ApplicationPermissions.PERMISSION_SERVER_NETWORK:
case ApplicationPermissions.PERMISSION_LOCAL_CONNECTION
return HRes.GET(RES_PERM_INTERNAL_CNN);// "Internal Communication required for connection with Server";
//Depricated : ApplicationPermissions.PERMISSION_SCREEN_CAPTURE :
case ApplicationPermissions.PERMISSION_RECORDING :
return HRes.GET(RES_PERM_RECORDING);// "Required for access camera recording features";
case ApplicationPermissions.PERMISSION_WIFI :
return HRes.GET(RES_PERM_WIFI);// "WiFi Communication required for connection through wireless router";
default:
return HRes.GET(RES_PERM_DEF_FEATURE);//"Please allow this access for full app functionality";
}}});