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.

That seems pointless, but, OK.

>    The difficulty is that how to know the useless time.

If you are looking to measure "useless time" just within your own
application, you are welcome to override onTouchEvent() and
onKeyDown() in each of your activities and use that to track the last
time the user did something.

If you are looking to measure "useless time" for the entire operating
system, you will need to write your own custom firmware, AFAIK.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android App Developer Books: http://commonsware.com/books

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