android-How play youtube video from default application -
i using code load youtube video launching intent let user choose video application use:
startactivity(new intent(intent.action_view, uri.parse("http://www.youtube.com/watchv=cxlg2wte7tm")));
by doing able load youtube webpage , user need click play button play video,then video starts play.how can avoid intermediate step.
look @ post maybe android youtube app play video intent
and here official documentation :
Comments
Post a Comment