Never mind...





On Apr 19, 12:43 am, jcgnu <[EMAIL PROTECTED]> wrote:
> Hi all.
>
> I'm developing a Java application using Google Calendar Data API.
>
> Basically, I want to log in to an account, get the information on its
> calendar (the only one it has) and generate an XML. I would like to be
> able to parse that XML to generate a custom XML (with a format defined
> by me)...
>
> So, I've spent quite a lot of time on it and I can't seem to be able
> to get anywhere... I currently have a code that logs into the account
> and gets the names of all the calendars on that account (basically it
> is the code I found on the guide.
>
> I hope someone can help me out here, please! How can I get this XML
> and parse it to generate my own??
>
> Thanks a lot, in advance!!!
>
> Here's how my code currently looks like:
>
>         CalendarService myService = new CalendarService("exampleCo-
> exampleApp-1.0");
>         myService.setUserCredentials("[EMAIL PROTECTED]",
> "password");
>
>         URL feedUrl = new URL("http://www.google.com/calendar/feeds/
> default/allcalendars/full");
>         CalendarFeed resultFeed = myService.getFeed(feedUrl,
> CalendarFeed.class);
>
>         System.out.println("Your calendars:");
>
>         for (int i = 0; i < resultFeed.getEntries().size(); i++) {
>           CalendarEntry entry = resultFeed.getEntries().get(i);
>           System.out.println("\t" + entry.getTitle().getPlainText());
>         }
--~--~---------~--~----~------------~-------~--~----~
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