0
J'ai code pour Lauch une application youtube androiden mode Plein écran en application youtube android
private String video_id[] = { "gZiKrWSzNBo", "mzpJq23cuKc" };
private final static String YOUTUBE_URL = "http://www.youtube.com/watch?v=";
private final static String YOUTUBE_APP = "com.google.android.youtube";
Intent youtube_intent = new Intent();
youtube_intent.setPackage(YOUTUBE_APP);
youtube_intent.setAction(Intent.ACTION_VIEW);
youtube_intent.setData(Uri.parse(YOUTUBE_URL + video_id[position]
+ PLAYER_PARAMETERS));
startActivity(youtube_intent);
Comment puis-je forcer cette application pour afficher la vidéo en mode plein écran dans Android 3.2? Et ne suggèrent pas VideoView et lecteur Embed - ces méthodes ne fonctionne pas pour moi
Merci, cela fonctionne très bien pour moi! –