调用手机默认的浏览器:

1 Intent intent = new Intent();
2 intent.setAction("android.intent.action.VIEW");
3 Uri targetUrl = Uri.parse("http://www.cnblogs.com/ivan-aldrich/");
4 intent.setData(targetUrl);
5 startActivity(intent);

 

posted on 2015-01-15 22:40  Ivan Aldrich  阅读(297)  评论(0编辑  收藏  举报