Automate input into app Is there a way to create a script or "app" to automatically input data into an already installed app.
I.e Fill and submit a todo task in a todo app.
Or fill a register form ?
In every device, there is a binary called input.
You can invoke it with from your application or even from adb:

$ adb shell input
Usage: input [&lt;source&gt;] &lt;command&gt; [&lt;arg&gt;...]
The sources are:
      mouse
      keyboard
      joystick
      touchnavigation
      touchpad
      trackball
      stylus
      dpad
      touchscreen
      gamepad

The commands and default sources are:
      text &lt;string&gt; (Default: touchscreen)
      keyevent [--longpress] &lt;key code number or name&gt; ... (Default: keyboard)
      tap &lt;x&gt; &lt;y&gt; (Default: touchscreen)
      swipe &lt;x1&gt; &lt;y1&gt; &lt;x2&gt; &lt;y2&gt; [duration(ms)] (Default: touchscreen)
      press (Default: trackball)
      roll &lt;dx&gt; &lt;dy&gt; (Default: trackball)


You can then navigate int the app using KeyEvent, click buttons, submit text to the focused element, etc.