public static void watchYoutubeVideo(String id) { Intent applicationIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("vnd.youtube:" + id)); Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.youtube.com/watch?v=" + id)); try { startActivity(appIntent); } catch (ActivityNotFoundException ex) { startActivity(webIntent); } }