I found a way.
> try {
> CalendarService myService = new
> CalendarService("exampleCo-exampleApp-1");
> myService.setUserCredentials(userName, userPassword);
> URL entryUrl = new URL("
> https://www.google.com/calendar/feeds/myusername/private/full/nobjau48hma2bs1w88j4j78bxx
> ");
> EventEntry retrievedEntry = myService.getEntry(entryUrl,
> EventEntry.class);
> System.out.println("Title: " +
> retrievedEntry.getTitle().getPlainText());
> } catch (IOException e) {
> // Communications error
> System.err.println("There was a problem communicating with the
> service.");
> e.printStackTrace();
> } catch (ServiceException e) {
> // Server side error
> //System.err.println("The server had a problem handling your
> request.");
> System.err.println(e.getMessage());
> e.printStackTrace();
> }
>
--
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://code.google.com/apis/calendar/community/forum.html