我有以下内容来从Android应用程序中打开浏览器。从应用程序内启动浏览器 - 你如何回到应用程序?
String url = "http://www.example.com";
Intent i = new Intent(Intent.ACTION_VIEW);
i.setData(Uri.parse(url));
startActivity(i);
你如何让用户返回到应用程序,他们查看的页面后?
编辑
我有我的清单android:noHistory="true"
设置为Activity
调用Intent
。
重复http://stackoverflow.com/questions/6927112/can-i-close-a-browser-activity-ive-opened/6927196#6927196 –
我同意Graeme并创建自己的webview –