Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("www.baidu.com"));
intent.setClassName("com.android.browser", "com.android.browser.BrowserActivity");
startActivity(intent);
【Android实测】调起系统浏览器打开指定页面代码
最新推荐文章于 2024-05-13 18:12:11 发布