gpt4 book ai didi

android - 如何从我在 android 中的应用程序打开 chrome 浏览器的历史窗口?

转载 作者:行者123 更新时间:2023-11-29 01:35:08 24 4
gpt4 key购买 nike

我正在尝试从我的应用程序中打开 Chrome 历史记录窗口。请告诉我该怎么做?

最佳答案

 Intent i = new Intent("android.intent.action.VIEW");
i.setPackage(PKG_CHROME);
i.setData(Uri.parse("about://history"));
i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
paramContext.startActivity(i);

关于android - 如何从我在 android 中的应用程序打开 chrome 浏览器的历史窗口?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28759880/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com