On Wed, Mar 11, 2009 at 8:10 AM, cajo_vcambra <[email protected]> wrote: > Hi Ray, > > Thanks for your reply. > But how can I do that using the Java API? > I still don't understand how the API is supposed to work, so this is > probably silly: > > Â CalendarQuery query = new CalendarQuery(new URL("http:// > www.google.com/calendar/feeds/[email protected]/public/full/d9kvgjjp3dvs5lj12p6ej6ino0")); > Â feed = (CalendarEventFeed) calendarUtils.getService().getFeed(query, > CalendarEventFeed.class); > > I really don't know how to apply the suggestions you've give me. > > Kind regards, > > Carlos Ferreira
Carlos, See the documentation here: http://tinyurl.com/crozzf Specifically, you can just pass a URL into getFeed(): URL u = new URL("http://www.google.com/calendar/feeds/[email protected]/public/full/d9kvgjjp3dvs5lj12p6ej6ino0")); feed = (CalendarEventFeed) calendarUtils.getService().getFeed(u, CalendarEventFeed.class); -- Trevor Johns --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
