1,通过浏览器打开网页
// 打开Google主页
Uri uri = Uri.parse("http://www.google.com");
Intent intent = new Intent(Intent.ACTION_VIEW, uri);
startActivity(intent);
更多Intent 使用详解:https://blog.csdn.net/cricket_7/category_9549721.html
1,通过浏览器打开网页
// 打开Google主页
Uri uri = Uri.parse("http://www.google.com");
Intent intent = new Intent(Intent.ACTION_VIEW, uri);
startActivity(intent);
更多Intent 使用详解:https://blog.csdn.net/cricket_7/category_9549721.html