how can I know whether an event is deleted or not.

1 view
Skip to first unread message

김대용

unread,
May 9, 2010, 7:50:40 AM5/9/10
to Google Data APIs Objective-C Client Library Discussion
Hi,
I'm trying to synchronize google calendar events with my local database.

I wonder how can I know whether an event is deleted or not.

First, I downloaded all events from google and inserted them into my
local database.(using my application)
Second, I deleted a few events using a web browser.
Third, I run my application again and it probably will synchronize again.

In this case, how my application can know which event is deleted?
I'm currently saving all event's identifiers, ETAGs, etc.
Is there any function to ask whether an event is deleted or not with the
identifier?


one more question,
I recently know that google provides Task service,
when I open google calendar page, I can see Task service on the right
side of the browser.
I can add things to do, delete them and manipulate them.

Is this library support that Task service?
and..
Is this library support google note?

Thanks.

--
You received this message because you are subscribed to the Google Groups "Google Data APIs Objective-C Client Library Discussion" group.
To post to this group, send email to gdata-objec...@googlegroups.com.
To unsubscribe from this group, send email to gdata-objectivec-...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gdata-objectivec-client?hl=en.

Greg Robbins

unread,
May 10, 2010, 5:00:02 PM5/10/10
to gdata-objec...@googlegroups.com
Calendar events have a status which may be canceled:

  <gd:eventStatus value="http://schemas.google.com/g/2005#event.canceled"/>

so perhaps check the eventStatus of an event entry to check if its value is kGDataEventStatusCanceled. Note that the semantics of recurring events can be quite difficult.

The Calendar API is awfully complex, but there is a discussion forum just for users of the API:

  http://www.google.com/support/forum/p/apps-apis/label?lid=5b1004a84758c3f8&hl=en


There is not currently an API for Google Tasks. You can be notified of news about any future tasks API by adding a star to this issue:

  http://code.google.com/p/gdata-issues/issues/detail?id=987
Reply all
Reply to author
Forward
0 new messages