I am currently developing an application that requires playing YouTube videos in full screen mode. After scraping around and putting together the pieces, I currently have the following code which I hope is of use to anybody else out there. public void playYouTubeVideo(String videoId) { String videoTemplate = "@YTBASE@@VIDEO@"; String videoAction = videoTemplate .replace("@YTBASE@", "vnd.youtube://") .replace("@VIDEO@", videoId); Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(videoAction)); intent.putExtra("VIDEO_ID", videoAction); intent.putExtra("force_fullscreen", true); startActivity(intent); } There are some points to bear in mind though... Once the ACTION_VIEW intent has control, your application is effectively paused i.e. it won't work until you use the back button to exit the player intent and return to your application. It may or may not work in t...
To know one thing, you must know the opposite. -- Henry Moore