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.

inside custom component

Java Development

Reply
Developer
Developer
bba
Posts: 266
Registered: ‎04-01-2009
My Device: Not Specified
Accepted Solution

Backlight.isEnabled() when the device is locked

Hello,

when I check 

if(Backlight.isEnabled()){ //whatever }

 

and the device is locked (standby or keylock), what does it post?

 

 

I found out that it returns true, when it is locked. Can someone verify that?

 

Developer
baskaraninfo
Posts: 342
Registered: ‎02-04-2009
My Device: BB 8320

Re: Backlight.isEnabled() when the device is locked

Backlight.isEnabled() method determines if the backlight is currently on or not.

It does not reflect such like locked (standby or keylock) or not. 

 

For more information refer, http://www.blackberry.com/developers/docs/4.7.0api/net/rim/device/api/system/Backlight.html 


Use Search. "Accept Solution" if the problem gets resolved.