Friday, August 13, 2010

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

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
manually.

Thanks!

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate