Advertisement

Google adds push notifications to Calendar API

Google just made the lives of third-party calendar developers much easier. Rather than having to constantly poll Google Calendar servers for updates, the Calendar API now supports push notifications. This means, with just a few lines of code, developers can sync their app to Mountain View's servers in near real time, rather than waiting on regularly scheduled updates. The only thing a developer will need to do is give a user the tools necessary to subscribe to a calendar. When something changes, Google sends a notification to the app, which performs an API call to pull down the updated data. Simple as pie! And probably a little healthier for your battery than checking in every 15 minutes, whether something has changed or not. If you're looking for a few more details you can hit up the source link.