android 指定浏览器打开网页

1 Intent intent=new Intent(Intent.ACTION_VIEW);
2 Uri uri=Url.parse("http://www.map1000.com");
3 intent.setData(url);
4 intent.setClassName("com.tencent.mtt","com.tentcent.mtt.MainActivity");
5 startActivity(intent);

指定浏览器打开网页

posted @ 2012-07-16 16:13  那些人追过的年  阅读(2526)  评论(0编辑  收藏  举报