title: can we use UIAutomator in android applications?
body: <p>I want to know can we use UIAutomator in our applications ? 
  I want write an app that open another application, write some Text in that application EditText and then press some buttons (like open Hangout and write a text on it and send the message). 
  Can you suggest me how can I do this? </p>
  
  <p>I have searched the net and I could only find out I can test my UI with UIAutomator, but I don't know if I can use it to write an Android application (not jar file) and run it on my Android device to do this.</p>