> You can't poll screen on/off state. The best you can do is to > register a BroadcastReceiver, and wait for an Intent to come along. > Until that first Intent is received, you'll have no idea what the > screen state is.
Yes, that is how it appears and thus why I posted. It seems like a important omission from the API. -- 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