Hi everyone,

I'm trying to figure out a way to send touch events to the foreground
activity. Essentially I want to write something that allows me to run
it from the shell and just say "I touched this co-ordinate", so that I
can automate some UI tasks for testing. Essentially what Monkey does,
but application agnostic.

I think that android.view.MotionEvent holds the key, but I'm not sure
how to run something without view so that I don't interfere with what
is on the screen. Perhaps with a service, but I'm unclear how that
would work.

Does anyone have any ideas?

Thanks,
Matt

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