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.
> adb shell input keyevent KEYCODE_0
> 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:
 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
Thanks so much.