我想在 Android 版 Chrome 中通过 Javascript 调出 Android 共享菜单。 我知道您可以从 Chrome 启动特定应用程序: https://developers.google.com/chrome/mobile/docs/intents
有没有办法使用 href="intent://..."打开共享菜单? 这是在应用程序中完成的方式:http://developer.android.com/training/sharing/shareaction.html
最佳答案
有 navigator.share
作为 experimental technology在 MDN 中提到。
在 Google Developers page. 中也有更多描述
从 chrome 61 你可以做到这一点,这里是 demo I found online .我已经在最新的 Android Chrome(在 Android Oreo 上)上对其进行了测试,它运行良好。
关于javascript - 在 Chrome 的 Javascript 中使用 Android 共享 Intent ?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19284726/