【发布时间】:2016-04-10 15:51:19
【问题描述】:
为 Android 构建一个 phonegap 应用程序,我想访问设备用户的 Google 日历凭据,以便我可以在 JS 中操作日历事件。有很多关于如何使用静态凭据处理 Google API 的教程,但我如何根据每个用户从设备本身获取这些?
【问题讨论】:
-
查看 Google 文档中的 Delegating Domain-wide authority,它可能就是您要查找的内容。完成此设置后,您的应用就可以代表用户进行 Google API 调用。希望这会有所帮助,祝你好运!
标签: android cordova google-api google-calendar-api