Intent.ACTION_SCREEN_OFF is broadcast at the time where the user has been
inactive and the screen is about to turn off.

On Sun, Dec 13, 2009 at 9:28 PM, swapnil kamble <swap.kam...@gmail.com>wrote:

> Hi,
>    As in android, after inactvity of screen off timeout, android screen
> goes off. So here android itself uses some activity observer, to know
> whether user is currently active or not. I need not every keystroke or touch
> event with details, just knowing that user is active and getting a
> broadcastreceiver after some timeout value. Does anybody know something
> related to activity observing ? I got the code from in frameworks where it
> broadcast, but I am still figuring out code in android that monitors user
> activity.
>
> Need not be an app restricted, I am open to modify code frameworks too.
>
> Thanks in advance,
> Swapnil
>
> || Hare Krishna Hare Krishna Krishna Krishna Hare Hare ||
> || Hare Rama    Hare Rama   Rama   Rama    Hare Hare ||
>
> --
> 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<android-developers%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
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

Reply via email to