0

Can some one tell me how i can initiate & pickup a video call using adb? I want to automate some Video Telephony Testing and want to do this using adb_scripts. Is it possible at all?

I can see the following link in stackoverflow to initiate a voice only call using adb. I just cannot correlate the same to initiate video call.

How to make a call via pc by ADB command on android?

Thanks in advance.

2 Answers 2

2

\\ To Initiate the Video call

adb shell am start -a android.intent.action.CALL -d tel:xxx-xxx-xxxx --ei android.telecom.extra.START_CALL_WITH_VIDEO_STATE 3**

\\ To auto answer on far end

adb shell setprop persist.sys.tel.autoanswer.ms 2000
1
  • Thanks Alexan, adb shell am start -a android.intent.action.CALL -d tel:xxx-xxx-xxxx --ei android.telecom.extra.START_CALL_WITH_VIDEO_STATE 3 work (not include **)
    – Son Pham
    May 14, 2020 at 4:52
0

Have you tried this for setting up a call:

adb shell am start -a android.intent.action.CALL -d tel:+1-xxx-xxx-xxxx

This ends a call:

adb shell input keyevent 6

I have not tried this but it might answer a call:

adb shell input keyevent 5

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.