Hi Nitiin,
To access a secondary calendar, you need to do is specify the
corresponding calendar ID (eg.
[EMAIL PROTECTED]) 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 <[EMAIL PROTECTED]> 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
--~--~---------~--~----~------------~-------~--~----~
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://groups.google.com/group/google-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---