wake lock
Hi, thank you for your suggestion. I'm already using the partiallock and keepalive but they only seem to prevent the screen from going to sleep. I'd like to prevent screen burn in by allowing the screen to go to sleep and then turn it back on when there is an event. I'm pretty sure it's possible cause I have an alarm app on my phone (4.03) which seems to do this. Any other solution? I'm pretty sure I need to use the type of wake lock I described earlier.
From Android Developer:
ACQUIRE_CAUSES_WAKEUP Normal wake locks don't actually turn on the illumination. Instead, they cause the illumination to remain on once it turns on (e.g. from user activity). This flag will force the screen and/or keyboard to turn on immediately, when the WakeLock is acquired. A typical use would be for notifications which are important for the user to see immediately.