> Not if you are using PARTIAL_WAKE_LOCK. You need a FULL_WAKE_LOCK Thanks but that doesn't solve my problem, I really, really want to turn the screen off after some time of inactivity and turn it on only after a message arrives or the user touches the screen or button.
Update: PARTIAL_WAKE_LOCK and pm.userActivity() when a message is received is working :) -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en