如果应用程序已经安装,如何直接从deeplink打开应用程序?

gk7wooem  于 2021-07-12  发布在  Java
关注(0)|答案(0)|浏览(224)

我想直接打开应用程序,而不给propmt打开浏览器或打开应用程序。
我跟踪了stackoverflow上的一些链接,做了他们所做的事情,但仍然没有运气。
请帮忙把它修好。

  1. <activity
  2. android:name="com.zappfresh.android.Activity.login.SplashActivity"
  3. android:label="Zappfresh"
  4. android:launchMode="singleTask"
  5. android:screenOrientation="portrait">
  6. <intent-filter android:autoVerify="true">
  7. <action android:name="android.intent.action.MAIN" />
  8. <category android:name="android.intent.category.DEFAULT" />
  9. <category android:name="android.intent.category.LAUNCHER" />
  10. </intent-filter>
  11. <intent-filter android:autoVerify="true">
  12. <action android:name="android.intent.action.VIEW" />
  13. <category android:name="android.intent.category.DEFAULT" />
  14. <category android:name="android.intent.category.BROWSABLE" />
  15. <data
  16. android:host="zappfresh.onelink.me"
  17. android:pathPrefix="/T0HX"
  18. android:scheme="https" />
  19. </intent-filter>
  20. </activity>

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题