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

Android™ Development

New Developer
Posts: 40
Registered: ‎12-28-2011
My Device: Torch 9800
My Carrier: AT & T

How to Change Playbook Backlight Timeout

Hi, I'm developing an android application using eclipse and planning to port the app to Blackberry Playbook.


When my app is in foreground, playbook's backlight must remains on.


I tried:



- Doesn't seem to work on TabletOS


android.provider.Settings.System.putInt(getContentResolver(), SCREEN_OFF_TIMEOUT, -1);

- makes the app crashed


I also tried power lock / wake lock, but this also makes my app crashed.


Any idea will be greatly appreciated! many thanks