0
我在我的应用程序语句的Android无法启动视频活动
Uri uri = Uri.parse(movie1.getMovieWatchLink());
// With this line the Youtube application, if installed, will launch immediately.
// Without it you will be prompted with a list of the application to choose.
uri = Uri.parse("vnd.youtube:"+ uri.getQueryParameter("v"));
Intent intent = new Intent("android.intent.action.VIEW", uri);
VideoActivity.this.startActivity(intent);
我通过YouTube视频网址
当我运行上面的语句,我不能够启动的活动,任何人都可以帮助我吗?
你有没有记录? – AAnkit 2013-03-18 05:44:52
是的,我调试它停止VideoActivity.this.startActivity(intent); – String 2013-03-18 05:45:54
发布您的VideoActivity代码.. – Subburaj 2013-03-18 05:52:49