xamarin.forms - Xamarin: Launch youtube channel in youtube app -


i trying open youtube channel in youtube app in xamarin forms. able open specific facebook page , twitter page writing these lines of code:

device.openuri(new uri("fb://page/page_id")); device.openuri(new uri("twitter://user?user_id=userid")); 

i found this android , tried this:

device.openuri(new uri("vnd.youtube://channel_id")); 

but getting 400 network error after being launched in youtube application. there way open youtube profile/channel.

answering question:

device.openuri(new uri("vnd.youtube://user/xamarinvideos")); 

this directly launch youtube channel in youtube app if installed in device.


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -