send touch event from ADB to a device
<p>I am trying to send touch events to a device using ADB shell command, so that I can do some basic automation for UI tests. I have followed the discussion in some previous threads regarding this. </p>

<p>I confirmed about getting the events and using sendevents,to send out 6 events for each touch ( xcoord, ycoord, 2 for press,2 for release) and it was easy to use this information to sendevents, but a getevent for the touchscreen for a device seems to generate far too many events.</p>

<p>Has somebody managed to send touch event from ADB to a device? Could you please share the solution.</p>

<p>I really appreciate your help.</p>

<p>I am working on recording the touch events on phone. After that i wish to send the same event back to the device as part of UI testing.</p>

<p>Please help</p>
