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. New to the forum? Please visit the ‘Getting Started’ link below.
Reply
Visitor
rainwaterday
Posts: 1
Registered: ‎03-28-2012
My Carrier: china

About setting permissions at blackberry 9800 phone's problem at development

I need to get help about .I run my application break  when I add application permissions(PERMISSION_IDLE_TIMER) in code.   

the code is:

ApplicationPermissions permissions = new ApplicationPermissions();

permissions.addPermission(ApplicationPermissions.PERMISSION_IDLE_TIMER);

ApplicationPermissionsManager.getInstance().invokePermissionsRequest(permissions);

 

When I progrom perform here, system prompt: "Application want  to change Appearance Setting" and I save it, but phone carsh.

 

the phone is blackberry@9800.  blackberry system is OS6.    System define permission is deny about permission_idle_timer.

 

How can I change the PERMISSION_IDLE_TIMER and program don't carsh

Please use plain text.