Test test test Just install the app, click the button, adb logcat. Then kill the app every once in a while with watch -n5 ./kill.sh