开发者

Android: How to interface with Google Calendar?

I am building an app for Android 2.1 that provides notifications based on calendar events. But I'm aware there are issues with the Calendar API not being readily available / stable / whatever.

What I'd like to do is somehow communicate with the user's Google Calendar to get a list of tasks every few hours, or perhaps when the calendar is updated, and then store that data locally so they don't need to have an active internet connection at all times.

Then at a particular开发者_开发技巧 time, the notifcation event would occur.

Surely, someone must have determined a way to interface with Google Calendar? I'm sure there must be numerous apps and solutions available that connect to it already, and my users can use any interface they like for interacting with it, but I need to be able to read the data and store it locally.

Thanks!


Your best bet for interfacing with Google Calendar is to use version 2 of the GData library. There are a few examples on that page on how to use the Picassa API with Android, but the Calendar APIs should be fairly similar to use.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜