【Android】通过 Intent 调用浏览器打开链接

时间:2014-01-17 19:03:55   收藏:0   阅读:475

 

Intent intent= new Intent();
intent.setData(Uri.parse("http://www.baidu.com/"));
intent.setAction(Intent.ACTION_VIEW);
startActivity(intent);

原文:http://www.cnblogs.com/4evercai/p/3524305.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!