title: How to run Java code on Android device without uploading apk
body: <p>Is there an easy way to run Java code on an Android device without actually delivering an apk? I'd like to test out function calls without building an entire project. </p>
  
  <p>For instance, it would be cool to run calls like <code>Camera.open(1)</code> and see what the device responds with. It takes forever to rebuild an entire project and redeploy it for minor changes. The only option I can come up with is having some sort of text field that takes user input, executes commands (Compiler API?) and displays the result. Is there a better way?</p>