Android ADB command line for calls

some funny android console command (ensure you enabled your android device’s USB debugging mode before trying):

make a phone call:

To dial phone number using service call

adb shell service call phone 2 s16 "" s16 "+123456789"

To dial call using activity manager

adb shell am start -a android.intent.action.CALL -d tel:123456789

accept an incoming call:

adb shell input keyevent 5

hang up phone call:

adb shell input keyevent 6

Leave a Reply

Your email address will not be published. Required fields are marked *