Re: [android-developers] How to send an specific key event to FG app using adb?

2010-08-14 Thread dan raaka
http://developer.android.com/guide/topics/testing/testing_android.html With instrumentation, you can set up mock system objects such as Contexts before the main application starts, control your application at various points of its lifecycle, send UI events to the application, and examine the

[android-developers] How to send an specific key event to FG app using adb?

2010-08-13 Thread tomei.ninge...@gmail.com
Hello, I want to keep launching my app and stress test two scenarios: launch it and press BACK key launch it and press MENU key I can launch from adb using am command. But how can I send a BACK or MENU key using adb. I want to do thousands of rounds of testing so I don't want to do it