adb shell monkey -p com.yourpackage -v 500 This sends 500 random touch events, gestures, and system-level events. If your app survives 500 monkeys, it's ready for production. Users won't do this. But you can:
Today, we are going to strip away the GUI and get our hands dirty with adb , fastboot , and systrace . When you install the Android SDK, you download several packages. The most critical is Platform-Tools . This package updates backward (meaning newer tools work with older Android versions) and includes the utilities necessary for a device to communicate with a computer. android_sdk platform tools
fastboot devices