admin管理员组文章数量:1123699
I am aware that there is an intent.resolveActivity(...)
method in android that checks if the intent can be handled by the device.
I am trying to open an app using the browser that will send an intent url of the form intent://example#Intent;scheme=foo;end
is there any way to check this in a browser window using javascript/typescript
I am opening the intent using the window.open
call but it seems the return value of the call only depends on whether a new window was opened or not and not if the url was correct or not,
If the app is not installed on the device, then I get a net::ERR_UNKNOWN_URL_SCHEME
error in the browser window which I don't want, the App not found
should be shown on the website itself
Thanks in advance.
版权声明:本文标题:javascript - Is there a `resolveActivity()` equivalent for opening applications from browser? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736589931a1945061.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论