[android-developers] Recognize clicks on screen in background service

2010-06-24 Thread Jens
Hi: I have a background service and want to listen to clicks on the
screen by the user. Is there any standard procedure or experience in
doing this?

-Jens

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


Re: [android-developers] Recognize clicks on screen in background service

2010-06-24 Thread Mark Murphy
On Thu, Jun 24, 2010 at 10:02 AM, Jens jens.is.loca...@googlemail.com wrote:
 Hi: I have a background service and want to listen to clicks on the
 screen by the user. Is there any standard procedure or experience in
 doing this?

That's not possible, sorry. Only the foreground activity can listen
to clicks on the screen by the user.

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