I am trying to start a video call on Skype using their URI API, but the video is turned off when the call starts.
They give a clear example how to use it:
skype:skype.test.user.1?call&video=true
I am using adb to send the command, so I am using the command:
adb shell am start -a android.intent.action.VIEW -d "skype:someuser?call&video=true"
This successfully initiates the call, but with video off. I have tried adding the extra parameter using the Android adb extra parameters:
--es extra_key extra_string_value
So my full command is
adb shell am start -a android.intent.action.VIEW --es "video" "true" -d skype:someuser?call
but this doesn't make the trick.
Figured out the solution thanks to this related answer. The solution is simply to escape the ampersand (&) character inside the quotes!
So, the final command that worked for me is:
adb shell am start -a android.intent.action.VIEW -d "skype:someuser?call\&video=true"