【发布时间】:2016-12-01 21:46:49
【问题描述】:
当日历资源(如房间)发生更改(新事件、删除事件、修改事件等)时,我需要以某种方式实时收到通知。现在,我知道 Google Calendar API 允许注册通知 (https://developers.googleblog.com/2013/07/google-calendar-api-push-notifications.html)。问题是,这需要服务器的 URL 才能接收 JSON 格式的通知。我没有服务器!我只是在编写一个 Android 应用程序 - 没有像链接示例中那样的第三个组件。
有什么方法可以直接向我的 Android 应用设置通知,例如使用 Google Cloud Messaging 之类的吗?
谢谢!
【问题讨论】:
标签: android google-calendar-api android-googleapiclient