Skip to content

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

Open
@haizhilin2013

Description

@haizhilin2013
Collaborator

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

Activity

mengsixing

mengsixing commented on Jun 23, 2019

@mengsixing

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

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

jintangWang commented on Jul 2, 2019

@jintangWang

比如说:

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

Android 是利用 deeplinkiOS 是利用 URL Schemes

chenyuwen456456

chenyuwen456456 commented on Jul 5, 2020

@chenyuwen456456

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

smile-2008

smile-2008 commented on Jan 11, 2021

@smile-2008

比如说:

<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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @smile-2008@haizhilin2013@jintangWang@mengsixing@chenyuwen456456

        Issue actions

          [html] 第68天 写个例子说明HTML5在移动端如何打开APP? · Issue #490 · haizlin/fe-interview