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
Post a Comment