我正在构建一个 HTML5 应用程序,它将在特定的 Android 平板电脑上通过 Firefox 访问。主要选项之一是在 Instagram 上分享图片。
对于 Apple 设备,我们有“instagram://” Hook ,但它们对于 Android 不存在。我已经阅读了很多关于使用 Intent 的文章,但我认为这是不可能的,因为它是一个网络应用程序。
我需要任何解决方案才能退出我的 Firefox 浏览器并显示 Instagram 应用程序。可以最小化浏览器并转到 Android 主屏幕。
有人知道吗?
非常感谢。
最佳答案
If i understand your question I think this is what your are looking for
编辑:以该网站为例
To launch the Zxing barcode scanner app, you encode your href on the anchor as follows:
<a href="intent://scan/#Intent;scheme=zxing;package=com.google.zxing.client.android;end">
Take a QR code See the Android Zxing Manifest, which defines the package and the host.
关于android - 在 Android 上从 Firefox 启动 Instagram 应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20252296/