Hi J,

The way to insert event into a secondary calendar is by specifying the
correct calendar ID within the feed URL for the POST request.
Ordinariliy, you submit your event insertion with the calendar ID set
to be "default".  This would direct the insertion to your primary
calendar.  When you replace "default" with a secondary calendar ID,
the insertion will follow to that particular calendar.

The calendar ID for a secondary calendar look something like this
(this can be looked up in the "Settings" from the Calendar UI) -

String calId =
"[EMAIL PROTECTED]"; // "default";

URL postUrl = new URL("http://www.google.com/calendar/feeds/"; + calId
+ "/private/full");

Hope that helps,
Austin

On Nov 29, 8:36 pm, jm <[EMAIL PROTECTED]> wrote:
> Folks,
>
> I'm able to add/remove events to the default calendar for a user using
> the Java API. However, if a user has multiple calendar, I could not
> find a way to add events to a secondary calendar. Any insight on this
> issue would be of great help.
>
> Thanks,
> j
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to