Hi Nitiin,
To access a secondary calendar, you need to do is specify the
corresponding calendar ID (eg.
q1du...@group.calendar.google.com) in the feed URL.
URL feedUrl = new URL("http://www.google.com/calendar/feeds/[CALENDAR
ID]/private/full");
CalendarEventFeed resultFeed = myService.getFeed(feedUrl,
CalendarEventFeed.class);
Replace [CALENDAR_ID] with the actual ID of the secondary calendar.
There are two ways to look up calendar ID:
1) Physically go to the calendar and browse to "Settings" =>
"Calendars". Select the calendar you wish to access and the calendar
ID is listed on the "Calendar Address" entry.
2) Programmatically retrieve the calendar ID with the allcalendar
feed, for more details on this go to
http://code.google.com/apis/calendar/developers_guide_protocol.html#RetrievingCalendars
Austin
On Sep 22, 2:01 am, Nitin <niti...@gmail.com> wrote:
Hi,
Iam able to access events on only Primary calendar but im not
able to access events on other calendars, so can you please tell me
the way to get the events on all calendars.
Thanks & Regards,
Nitin M. Ware