I am working on an app in which I have a button that I want to onClick redirect to a link of youtube, means on clicking that button youtube should open and video should be played.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Intenting Inbuilt YouTube App
Make an intent that resolves to a
youtube URL. If the youtube app is installed, it will ask if you want to open in youtube.Or
you can use a youtube-explicit intent, but if the app isn’t installed it will cause an error.
Android YouTube app Play Video Intent