Hello,
I'm able to retrieve all calendars, all events, search events, but can't get
one event by ID.
I use Java SDK.
Retrieve all events:
*CalendarQuery myQuery = new CalendarQuery(new
URL("https://www.google.com/calendar/feeds/sample%40gmail.com/private/full"));
*
*CalendarEventFeed resultFeed =
calendarService.query(myQuery, CalendarEventFeed.class);*
Retrieve one event:
*CalendarQuery myQuery = new CalendarQuery(new
URL("https://www.google.com/calendar/feeds/sample%40gmail.com/private/full//ldjr75eu5k20c0gl1havedsmqo"));
*
*CalendarEventFeed resultFeed =
calendarService.query(myQuery, CalendarEventFeed.class);*
or
*CalendarQuery myQuery = new CalendarQuery(new
URL("https://www.google.com/calendar/feeds/sample%40gmail.com/private/full//ldjr75eu5k20c0gl1havedsmqo"));
*
*EventFeed resultFeed = calendarService.query(myQuery, EventFeed.class);*
I obtain:
com.google.gdata.util.ParseException: [Line 1, Column 282] Invalid root
element, expected (namespace uri:local name) of
(http://www.w3.org/2005/Atom:feed), found (http://www.w3.org/2005/Atom:entry
I don't find how to do in documentation.
thanks
Laurent
--
You received this message because you are subscribed to the Google
Groups "Google Calendar Data API" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://code.google.com/apis/calendar/community/forum.html