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
throws error.
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
-~----------~----~----~----~------~----~------~--~---