Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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!

like image 928
Brian Lacy Avatar asked Jun 04 '10 18:06

Brian Lacy


People also ask

Can I add Google Calendar as a widget?

Search for the Google Calendar app and tap it. To customize your widget size, swipe left. Tap Add widget. In the top right, tap Done.


1 Answers

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.

like image 145
Erich Douglass Avatar answered Oct 23 '22 04:10

Erich Douglass