打开网页,跳转到应用市场某个应用的URL

Open the web page and jump to the URL of an app in AppGallery

我想在华为浏览器中打开一个link,然后自动跳转到我的应用所在的应用市场located.How可以实现吗?

一般:

market://details?id={packageName}

例如,

<a href="market://details?id=com.tencent.mobileqq">Jump</a>

华为:

hiapplink://com.huawei.appmarket?appId={appId}

例如,<a href="hiapplink://com.huawei.appmarket?appId=C9319">Jump</a>