![](/img/trans.png)
[英]Trusted Web Activity: Navigating back to the native activity from redirected URL
[英]How to open Trusted web activity from our Activity by sending URL
在文件清單中,我們可以將 URL 設置為受信任的網絡活動。 但是如何通過將 URL 發送到受信任的網絡活動來從我們的活動中打開呢?
“如何通過將 URL 發送到受信任的網絡活動來從我們的活動中打開”:對於仍在尋找答案的人 - 請在此處查看我的帖子: https ://stackoverflow.com/a/58069713/8818281
簡而言之:
Intent intent = new Intent(this, com.google.androidbrowserhelper.trusted.LauncherActivity.class);
intent.setData(Uri.parse("ANOTHER_SITE_URL"));
startActivity(intent);
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.