簡體   English   中英

如何通過發送 URL 從我們的 Activity 打開 Trusted web Activity

[英]How to open Trusted web activity from our Activity by sending URL

在文件清單中,我們可以將 URL 設置為受信任的網絡活動。 但是如何通過將 URL 發送到受信任的網絡活動來從我們的活動中打開呢?

  1. 我們可以在受信任的 Web Activity 中操作點擊事件嗎?

“如何通過將 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.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM