Adb command to open youtube URL via Browser

0

To start a URL via adb, I have the following adb shell command:

adb shell am start -a android.intent.action.VIEW -d 'https://youtu.be/CSULRDoF8-g'

That works. But in the case of a YouTube video URL, the URL is opened by the YouTube app. I would like it to open for Chrome or the Internet

How to do this by adapting the command or using some other similar one? I'm using a Samsung Galaxy S7.

    
asked by anonymous 07.09.2016 / 03:34

1 answer

1

I believe the only way is by disabling the links defaults. In case you just search for "Defaults" in the device settings and disable YouTube, so each time you request a YouTube link , the device will ask you which app open the link .

    
07.09.2016 / 03:36