更新时间:2023-11-27 21:00:25
您可以发射将被拾起,浏览器在全球的意图
You can fire a global intent that will be picked up by the browser
Uri uri = Uri.parse( "http://www.google.com" );
startActivity( new Intent( Intent.ACTION_VIEW, uri ) );
另外,还要确保网络的权限添加到您的清单
Also make sure to add the web permission to your manifest
<uses-permission android:name="android.permission.INTERNET" />