12-14-2009 05:24 PM
I invoke Backlight.enable(true) in a NON-event thread to attempt to turn the back light on. However, the screen still remains black even Backlight.isEnable() returns the boolean value true. Could someone help me figure out what could possibly go wrong? Thanks in advanced!
The following is the program snippet:
Backlight.enable(true);
try {
Thread.sleep(1000L); // allow the event thread to repain the screen when turning backlight on
}catch(InterruptedException e) {}
boolean isLightOn = Backlight.isEnable(); // Notice: return "true" here, however the screen stays black.
Solved! Go to Solution.
12-15-2009 09:04 PM
Please ignore this post. It is because the application is not an UiApplication.