I\'m using the monkey tool to run a test of my Android application. For example, I might do a run like the following:
adb shell monkey -p com.myapp -v 10000
adb shell ps | grep monkey kill process_id