How can I find the deeplink used by Google Play Store to open installed applications?

huangapple go评论63阅读模式
英文:

How can I find the deeplink used by Google Play Store to open installed applications?

问题

Google Play Store允许我们“打开”已安装的应用程序。我假设他们是使用这些应用程序的深链接来实现的。我想找出他们用来打开这些应用程序的深链接,例如Google助手、Google Meet。我该如何找到这些深链接?

如果我能获取到他们用来打开Google助手的深链接,那就足够了。我不想要数字流程,我想要使用Play Store用来打开其他应用程序的方法。

我找不到他们使用的深链接是什么。

英文:

Google Play Store allows us to "open" installed applications. I assume they do this using deep links of the said applications. I want to find out the deeplink they are using to open said application, eg google assistant, google meet. How can I find the deeplinks?

If i can get the deeplink they are using to open google assistant that would be enough. I dont want digital flow I want to use the method play store uses to open other applications.

I cant find out what deeplink they are using.

答案1

得分: 0

I don't think Playstore uses deep links but just simple Intents.
Playstore 不使用深链接,只使用简单的 Intent。

You can start another application by providing inside the query tag of your app's Manifest the package id of the app you want to open, e.g. Google Fit:
你可以通过在你的应用清单的查询标签中提供要打开的应用的包标识来启动另一个应用,例如 Google Fit:

<queries> <package android:name="com.google.android.apps.fitness" /> </queries>

then launch the intent providing the package name you want, e.g.:
然后启动提供你想要的包名称的 Intent,例如:

activity?.packageManager?.getLaunchIntentForPackage("com.google.android.apps.fitness")

You can find app's package name analyzing the app's Manifest.
你可以通过分析应用程序的清单来找到应用程序的包名称。

More details on the official Android doc's page:
更多详细信息请参阅官方的 Android 文档页面:
Android doc's page

英文:

I don't think Playstore uses deep links but just simple Intents.
You can start another application by providing inside the query tag of your app's Manifest the package id of the app you want to open, e.g. Google Fit:

&lt;queries&gt;
&lt;package android:name=&quot;com.google.android.apps.fitness&quot; /&gt;
&lt;/queries&gt;

then launch the intent providing the package name you want, e.g.:

activity?.packageManager?.getLaunchIntentForPackage(&quot;com.google.android.apps.fitness&quot;)

You can find app's package name analyzing the app's Manifest.

More details on the official Android doc's page

huangapple
  • 本文由 发表于 2023年5月25日 21:14:38
  • 转载请务必保留本文链接:https://go.coder-hub.com/76332707.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定