【发布时间】:2019-11-27 13:39:49
【问题描述】:
您好,我正在开发一个应用程序以在应用程序内的谷歌地图片段上打开共享位置。当用户触摸共享的位置链接时,我的应用程序应显示在打开列表中。这是我的清单
这是我通过添加意图过滤器尝试的方法
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="http" android:host="maps.google.com" android:pathPattern="/maps"/>
<data android:scheme="https" android:host="maps.google.com" android:pathPattern="/maps"/>
<data android:scheme="geo"/>
</intent-filter>
我希望在点击位置时,我的应用会以对话方式打开。
【问题讨论】:
-
目前的行为是什么,你能具体说明一下吗?
标签: android intentfilter deeplink