Android 如何从应用程序在浏览器中打开链接?
我正在开发一个android应用程序。当用户单击URL时,我正在使用WebView打开一个新活动。我想将其更改为在浏览器中加载URL。这怎么可能呢?就这样做吧Android 如何从应用程序在浏览器中打开链接?,android,webview,Android,Webview,我正在开发一个android应用程序。当用户单击URL时,我正在使用WebView打开一个新活动。我想将其更改为在浏览器中加载URL。这怎么可能呢?就这样做吧 Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.google.com")); startActivity(intent);
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.google.com"));
startActivity(intent);