Hello, I would like to know how does Android platform identify when there is User Inactivity. Could someone point me to the source code (in platform) where the platform starts/reset a timer depending upon user activities. This timer should be the one which after "Screen timeout" set from "Settings->Display settings->Screen timeout" dims (shuts down) the screen.
I need the above to solve an use case of launching an application after 'X' seconds. This 'X' seconds starts from the time there is User Inactivity and this runs in a service. I know in an Activity I could make use of OnUserInteraction but I would like to know user activity from a service. Any help would be appreciated. Cheers, John -- 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