Input & Automation
Android 1.0+
Risk: SAFE
Keyevent 5 (KEYCODE_CALL)
Simulates pressing the KEYCODE_CALL hardware key (Call key / Answer incoming call.).
Command Syntax
adb shell input keyevent 5
Generic Syntax:
input keyevent 5
Options & Parameters
| Flag | Description |
|---|---|
| 5 | KEYCODE_CALL |
Real-World Usage Examples
Send keyevent 5
Sends KEYCODE_CALL event.
adb shell input keyevent 5