0
我试图在同一选项卡中的浏览器中打开url。而不是创建新的选项卡(相同的网址)每次点击应用程序。在使用android代码的浏览器中的相同标签中打开url(不使用webview)
赫斯的是代码:
Intent intent = new Intent(Intent.ACTION_VIEW,Uri.parse("http://1.1.1.1:8008"));
intent.putExtra(Browser.EXTRA_APPLICATION_ID, "com.android.browser");
startActivity(intent);
如果我关闭浏览器并重新启动,而不是开放使用现有的标签应用我看到的网址在新标签中打开。