【发布时间】:2015-05-15 08:16:40
【问题描述】:
我不知道这是否真的可以理解。
当我单击邮件中的链接时,我可以使用我的应用程序打开此链接,这正是我想要的。
<intent-filter>
<data android:scheme="https" android:host="xxx.xxx.com"/>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.BROWSABLE"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
但是
当我像这样打开我的应用程序并检查打开的应用程序时,我看到我的应用程序是“内部”Gmail 任务,就像那样
但是,例如,当我用 Chrome 打开链接时,Chrome 会在他自己的任务中打开,就像那样
我的应用程序如何在她自己的任务中打开而不在 Gmail 的任务中打开?
【问题讨论】:
标签: android android-intent task intentfilter