使用Intent跳转到浏览器

来源:互联网 发布:unity3d 虚拟拆装 编辑:程序博客网 时间:2024/06/16 09:52

可以查看文件,doc,xls,pdf,txt…..等等 一些文件。。。

 Uri uri = Uri.parse("URL"); Intent intent = new Intent(Intent.ACTION_VIEW, uri); startActivity(intent);
原创粉丝点击