I always follow Diane's suggestion when I need a screen on: http://groups.google.com/group/android-developers/msg/0ad1a089678cda24
I could never get my wakelock to work right. On Sep 9, 6:53 am, sdphil <[email protected]> wrote: > awesome! thanks! you rock mark! (and I should rtfm :-) > > On Sep 9, 5:27 am, Mark Murphy <[email protected]> wrote: > > > > > On Thu, Sep 9, 2010 at 1:32 AM, sdphil <[email protected]> wrote: > > > when an event occurs, I want to forcibly turn the display *ON*. > > > > i tried grabbing a FULL_WAKE_LOCK from the power manager power > > > service, but it still didn't work. i am turning the display off by > > > hitting the power button (i think this is like a light sleep or > > > something...) > > > You need to also blend in the ACQUIRE_CAUSES_WAKEUP value (OR it with > > FULL_WAKE_LOCK). > > > -- > > Mark Murphy (a Commons > > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > > Android Training in London:http://skillsmatter.com/go/os-mobile-server -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

