java - 如果已经安装了应用程序,如何直接从深度链接打开应用程序?
问题描述
我想直接打开应用程序而不用浏览器打开或用应用程序打开。
我按照stackoverflow上的一些链接做了他们所做的,但仍然没有运气。
请帮助修复它。
<activity
android:name="com.zappfresh.android.Activity.login.SplashActivity"
android:label="Zappfresh"
android:launchMode="singleTask"
android:screenOrientation="portrait">
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data
android:host="zappfresh.onelink.me"
android:pathPrefix="/T0HX"
android:scheme="https" />
</intent-filter>
</activity>
解决方案
推荐阅读
- bash - 如何在 BASH 中对一行中的 ROW 进行排序
- kubernetes - 公开 Digital Ocean 的托管 Kubernetes 集群
- javascript - 从 Javascript 中的 XPATH 获取数组中的值
- r - 通过 index() 将 xts 和列表合并在一起
- apache-spark - 是否有用于说明哪些作业已排队或正在运行的 spark 的 shell 命令?
- c# - 一旦字符在 y 上变为 0,如何停止字符旋转?
- python - 如何从熊猫系列元素中获取“聚合”字数
- reactjs - 使用 create-react-app 将变量抛出范围之外
- git - 显示额外提交的 git log 命令
- java - 拆分列表然后排序