Android的自定义URL打开应用程序就像iOS中就像、自定义、应用程序、Android

2023-09-12 11:23:52 作者:情不知所起、一往而深

在网站上,在iOS设备,如果它安装将打开Navigon的应用程序

我可以添加一个链接,例如,// NAVIGON。

有没有类似的简单方法,从网站Android开放的应用程序(假设它的安装)?

解决方案

在这里找到答案:

Android的回应网址意图

这里:

How实现我自己在Android URI模式

I can add a link to, for example, 'navigon://' on a website that, in iOS devices, will open up the Navigon app if it is installed.

Android 12 新特性 让 URL 分享更简单

Is there a similar simple method to open an app from a website (assuming it's installed) in Android?

解决方案

Answered here:

Android Respond To URL in Intent

and here:

How to implement my very own URI schema on Android