I had a similar question a couple of weeks ago. What it boiled down to
actually was the determination whether the screen is on (i.e. user can
see app output), or not. Here's: the thread:
http://groups.google.com/group/android-developers/browse_thread/thread/75cf7337ea716538#

Hope this helps.

On Jun 6, 9:03 am, Mark Murphy <[email protected]> wrote:
> coolbho3k wrote:
> > I'm trying to check if the phone is currently asleep in a service.
>
> If your code is running, the phone is not asleep.
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> _The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to