1
votes

I have started to use the Google Calendar Api and now I'm ok with the authetication, get the calendar list, rename the calendars, and add event with specified time and title to a selected calendar.

I have started to use the model from the calendar-v2-atom-android-sample and i figured out what I have to add to the model for the events because I read Access event data in Android app on Google Apps APIs

But now I have to add a recurring events, after reading CreatingRecurring, I am unclear as to what the content of the public class Recurrence {}. How is this implemented and how should I define the setRecurrence(Recurrence recurr)() function.

1

1 Answers

0
votes

GData 2.0 is both deprecated and not compatible with Android.

I would recommend using the Google Calendar Api. Setting recurrence is explained in the rfc2445.

If you're developing for anything above Android API Level 14 (aka ICE_CREAM_SANDWICH 4.0), you can use CalendarContract