I try to utilize the CalendarContract content provider: http://developer.android.com/reference/android/provider/CalendarContract.Events.html
I only can't seem to find anything regarding exception on recurring events.
I use the Instances URI to query.
I added an event (on calendar.google.com) and made it repeat every day. Now I changed one of the instances' time and the content provider gives me the exception correctly:
// Original event instance:
eventID: 320
instanceID: 651
startdate: Wed Mar 13 09:30:00 CET 2013
rrule: FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR
original_event_id: null
exrule: null
exdate: null
// Exception event instance:
eventID: 333
instanceID: 888
startdate: Mon Mar 18 15:00:00 CET 2013
rrule: null
original_event_id: 320
exrule: null
exdate: null
As you can see above the original event has no exrule
and exdate
but the exception event is still shown correctly (not overlapping the original event instance)
Now here comes my question: I want to add an exception to a recurring event myself. But I don't know what fields I need to fill and how this works. Since the example above isn't helpful at all.