I have a Android WebView app and it has YouTube videos embedded in it. I have looked all over for the answer but could not find it. Is there a way to make the YouTube app open when they look at the videos on my site? Yes I know some people don’t have the YouTube app, but this is an app for a local go kart track in a small town, so I can give instructions whenever someone has a problem. 🙂
Share
this is simply because you’ve set this as a user .
go to Settings and Applications , then , in the settings of the browser click the clear-Defaults button and it should now ask you how to open the video link.
however , if you wish to make the app to not listen to the user’s settings , you can do so as well, by using “setComponent“.
you could also know how to open the main activity of the app by using: