Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[html] 第68天 写个例子说明HTML5在移动端如何打开APP? #490

Open
haizhilin2013 opened this issue Jun 22, 2019 · 4 comments
Open
Labels
html html

Comments

@haizhilin2013
Copy link
Collaborator

第68天 写个例子说明HTML5在移动端如何打开APP?

@haizhilin2013 haizhilin2013 added the html html label Jun 22, 2019
@mengsixing
Copy link

用 a 标签就可以,原理是使用 deeplink 。

<a href="yourapp://page/xxx" />

@jintangWang
Copy link

比如说:

<a href="zhihu://">打开知乎</a>

Android 是利用 deeplinkiOS 是利用 URL Schemes

@chenyuwen456456
Copy link

以上 a标签 触发的 在微信内置浏览器中是无效的
可以使用 微信的开发标签实现 唤起app

@MrZ2019
Copy link

MrZ2019 commented Jan 11, 2021

比如说:

<a href="zhihu://">打开知乎</a>

Android 是利用 deeplinkiOS 是利用 URL Schemes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
html html
Projects
None yet
Development

No branches or pull requests

5 participants