1
.使用默认浏览器
Uri uri = Uri.parse(
"http://baidu.com"
);
Intent it =
new
Intent(Intent.ACTION_VIEW, uri);
startActivity(it);
Intent.ACTION_VIEW是根据数据类型,采取相应的措施
by: 发表于:2017-09-29 14:57:31 顶(0) | 踩(0) 回复
??
by: 发表于:2017-09-29 14:57:31 顶(0) | 踩(0) 回复
??
回复评论