Hi there,

      I'm trying to access a calendar to which access I'd been given.
I'm using Java API for google calendars, and tried to do this in
following steps

0. Fetch list of all available calendars and search for a title that
i'm interested in

1. Fetch url ID of a calendar that I'm interested in by calling
(CalendarEntry).getSelfLink().getHref();

got: 
http://www.google.com/calendar/feeds/default/allcalendars/full/_SOMEID_group.calendar.google.com

2. Tried to fetch event in a given time period

URL feedURL =  new FeedUrl(fetchedIdURL);
CalendarQuery myQuery = new CalendarQuery(feedURL);
myQuery.setMinimumStartTime(DateTime.parseDateTime("2007-09-08T00:00:00"));
myQuery.setMaximumStartTime(DateTime.parseDateTime("2007-09-12T23:59:59"));
CalendarEventFeed resultFeed = myService.query(myQuery,
CalendarEventFeed.class);

resultFeed.getItemsPerPage() got -1 :(


When I get a Calendar by

CalendarFeed resultFeed = myService.getFeed(feedUrl,
CalendarFeed.class);

I'm having proper instance of this calendar, so most probably this url
link is correct.

Any ideas/suggesstions what am I doing wrong ? I'd kindly appreciate
your help.


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