android youtube应用程序中的全屏模式

android youtube应用程序中的全屏模式,android,android-intent,youtube,youtube-api,youtube-javascript-api,Android,Android Intent,Youtube,Youtube Api,Youtube Javascript Api,我有启动android youtube应用程序的代码 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 yout

我有启动android youtube应用程序的代码

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);
如何在android 3.2中强制此应用程序以全屏模式显示视频?
不要建议使用videoview和Embedded player-这种方法对我不起作用

对于YouTube v4.1.47,您可以执行以下操作:

Intent playIntent = new Intent(Intent.ACTION_VIEW);
playIntent.setData(Uri.parse(<yout_YouTube_url>));
playIntent.putExtra("force_fullscreen", true);
Intent playIntent=新意图(Intent.ACTION\u视图);
setData(Uri.parse());
playIntent.putExtra(“全屏强制”,真);
它可能在旧版本上工作,但我还没有测试过