Hi - I am wondering what the correct invocation of "adb shell input" is -
It could be potentially very useful for me if I could inject key events into a running app. I've tried: > adb shell input keyevent KEYCODE_0 or > adb shell input keyevent KEYCODE_CALL etc. with an emulator running. I was inside the Dialer app and I was hoping that my numbers would show up. They do not. Neither the CALL or the ENDCALL buttons are clicked. I'm a little confused about the "adb shell input keyevent" syntax because it doesn't specify whether the action is UP or DOWN (or does it imply both a DOWN then an UP?). More often than not, I get something like: [1] Killed input keyevent CALL when I attempt to run "adb shell input keyevent .." In frustration, I tried "adb shell input keyevent 4" but this seemed to bounce me out of the dialer back to the menu. Can anyone shed some light as to whether I'm using this command correctly or if not, how and in what context it is intended to be used? Thanks so much. --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---