Find some one post the similar question here, but get no answers.
The exactly question is: how to detect the idle time.
There is a way is to track the user activity for example "click" or "touch",
but this is not good way to do it.
I just hope there are some Android sdk can do it.

On Thu, Nov 11, 2010 at 6:57 PM, Bo Huang <[email protected]> wrote:

> actually I want to display some pictures in the screen when no user touch
> screen or push hard buttons for a some time.
>
>    The difficulty is that how to know the useless time.
>
>
>
>
> On Wed, Nov 10, 2010 at 7:01 AM, Mark Murphy <[email protected]>wrote:
>
>> On Tue, Nov 9, 2010 at 10:50 PM, Bo Huang <[email protected]> wrote:
>> >    I am writing an application which requires screen saver. when the
>> > application runs in foreground and no body touch it for a while, it will
>> > automatically launch screen saver.
>>
>> There is no concept of a "screen saver" in Android. When nobody
>> touches the screen for a while, the screen and CPU turn off.
>>
>> --
>> Mark Murphy (a Commons Guy)
>> http://commonsware.com | http://github.com/commonsguy
>> http://commonsware.com/blog | http://twitter.com/commonsguy
>>
>> _Android Programming Tutorials_ Version 3.0.1 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]<android-developers%[email protected]>
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
>

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