BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 08-01-2008, 03:01 AM   #1 (permalink)
New Member
 
Join Date: Mar 2008
Model: 8120
PIN: N/A
Carrier: indego
Posts: 14
Post Thanks: 0
Thanked 0 Times in 0 Posts
Post Application Permission

Please Login to Remove!

Hi all,

I have used this code to set application Permission for my app.


ApplicationPermissions ap=new ApplicationPermissions();
ap.addPermission(ApplicationPermissions.PERMISSION _BROWSER_FILTER);
ApplicationPermissionsManager apm=ApplicationPermissionsManager.getInstance();
apm.invokePermissionsRequest(ap);

but to set the permission it asks the user to save it or not.But what if user does not save the new setting?

can we avoid the prompt which ask the user to set permission.

Also can we set permissions for other applications.
Offline  
Old 08-01-2008, 04:03 AM   #2 (permalink)
CrackBerry Addict
 
Join Date: Apr 2005
Location: hamburg, germany
Model: 8900
Carrier: o2
Posts: 838
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

it is not stored and will have to be asked again for.
no
no
__________________
java developer, Devinto, hamburg/germany
Offline  
Old 08-07-2008, 03:36 AM   #3 (permalink)
New Member
 
Join Date: Mar 2008
Model: 8120
PIN: N/A
Carrier: indego
Posts: 14
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanks simon,

one thing more, can we set permission for two things(let's say Browser Filter and Event Injector) in single prompt.Or every permission will prompt for itself.
Offline  
Old 08-07-2008, 05:15 AM   #4 (permalink)
Talking BlackBerry Encyclopedia
 
arunk's Avatar
 
Join Date: Mar 2008
Model: 8310
PIN: N/A
Carrier: Airtel
Posts: 229
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

you can add multiple permissions and request the user to alllow...
Offline  
Old 08-07-2008, 10:00 AM   #5 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

Also note that there are certain versions of 4.2.x that do not save the permissions as approved by the user (although the user selects "save" and everything seems to be OK). Issue acknowledged by RIM but not likely to be addressed on existing devices since the issue appears to have been fixed at a later release level.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.