How do I run shell script from Android application
<p>I know that I can run an Android instrumentation using abd shell. But I want to run the instrumentation from another Android app. </p>

<p>Basically, I want to create an Android app that tests another Anroid app using instrumentation.</p>

<p>Please let me know if there is a better way to create an Android app that can access to the another Android app to run some test codes..</p>

<p>Thanks in advance..</p>
