title: How to execute commands on a 3rd party app using adb commands or something similar
body: <p>I have a use case which requires an app, not developed by me, to be controlled. I have adb access to the android device. These are the steps that are required to be performed:</p>
  <ol>
  <li>Input text in two fields</li>
  <li>Press Enter</li>
  <li>Select checkboxes</li>
  <li>Enter text into another text field</li>
  <li>Enter</li>
  </ol>
  <p>I know I can use <code>adb input keyevent &lt;event-code&gt;</code> and <code>adb input touchpad tap &lt;x&gt; &lt;y&gt;</code>, but these are brutish methods that won't work every time. I have looked into appium, but it seems to be limited to mobile web applications. Other frameworks like Espresso work, if you've built the app yourself.</p>
  <p>I could not find any good answer to this problem. Any help is highly appreciated!</p>