hi,

Thanks  for great response Jake. It is great to get your response.

If i specify to write to address
http://www.google.com/calendar/feeds/<my_email_acct>@gmail.com/private/full
it is successful. It writes to a default calendar that i own .

But i want to write to a specific calendar that i own and manage in my
E-mail Account.  To ask  simply, " how to write events to Non default"
?

regards,
Srini sk

On Dec 12, 11:02 pm, "Srini" <[EMAIL PROTECTED]> wrote:
> hi Jake,
>
> In below code, when i loop through i get my non default calendar..
> But when i use   calEntry.getSelfLink().getHref() for posting event it
> repon throws error.o get your
> if i use "<googlesite>feed/<USERID>@gmail.com/<Magic URL> still it
> gives error
>
> If i replace getEditLink i see null pointers . If i use "Magic URL" i
> get Bad URI error. I thought we can post to "Magic URL"..
>
> Can you let me know what is problem in below
>
>    URL calendarsUrl = new URL(CALENDAR_FEEDS_URL + "/default");
>
>    new
> CalendarFeed().declareExtensions(calendarService.getExtensionProfile());
>    CalendarFeed feed = calendarService.getFeed(calendarsUrl,
> CalendarFeed.class);
>    out.println("List of calendars for account:");
>    for(int entry_i = 0; entry_i < feed.getEntries().size(); entry_i++)
>    {
>      CalendarEntry calEntry = feed.getEntries().get(entry_i);
>      String calFeedEntry = calEntry.getTitle().getPlainText();
>         if ( calName.equalsIgnoreCase(calFeedEntry))
>      {
>          return (calEntry.getSelfLink().getHref()) ;
>         }
>    }
>
> Better still , if you have  a wrapper for access to non default calndar
> , can you pls post  
> 
> regards,
> Srini sk


--~--~---------~--~----~------------~-------~--~----~
 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