01-11-2011 04:42 AM
I'm trying to keep the screen backlight on while some background thread running.
I've tried the code recommended by KB knowlodge, but still doesn't work.
if(( Display.getProperties() & Display.DISPLAY_PROPERTY_REQUIRES_BACKLIGHT) != 0 )
Shouldn't it keep the light on for an hour?
01-11-2011 06:30 AM
The maximum value for seconds is 255, and anything over that gets reduced to 255.
You'll have to make a timer and repeat that .enable(true, 255) until your hour is up.