Saturday, July 3, 2010

[android-developers] System-wide touch events OR User activity

I have been searching for some time for a method to solve my problem.
I am pretty sure this isn't possible, but thought I would ask anyway.

The problem that exists for me is I need a way to recognize when the
user is currently on their phone. Not specifically on my application
but on any application. I dont need any data on what apps there using
or anything like that, just simply that they are using it.

The idea I had, was to be able to listen to system touch events.
However, all I need is a true or false of whether or not a touch event
occurred anywhere on the system, in any application. I don't want to
know the coordinates of the touch event or what app it was in, just
simply that it happened.

OR

Maybe a way to detect if the current view has changed or something
like that.

Any help is appreciated.

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment