android - How to send a keystroke through adb during a phone call? -
i able utilize adb manage process of phonecall (primarily have cracked screen , cannot see anything).
i know can initiated phonecall through:
adb shell start -a android.intent.action.call -d tel:1234567890
similarly know can utilize key events end call:
adb shell input keyevent keycode_endcall
however have run issues when voicemail asks "press 1 hear message, 2 settings, etc".
i hoping next command work:
adb shell input keyevent keycode_1
or @ to the lowest degree following:
adb shell sendevent /dev/input/event0 1 2 1 adb shell sendevent /dev/input/event0 1 2 0
however voicemail not recognise selection , repeats message. have no way validate visually have no access screen.
any suggestions?
thanks help.
references:
making phone call through adb how create phone call via pc adb command on android? input event , events' list adb shell input events send event https://groups.google.com/forum/?fromgroups=#!topic/android-beginners/il2pqskrfni
during phone call need switch "dialpad" tab in order able send dtmf codes
android events call adb dtmf
No comments:
Post a Comment