Hi guys,
I was trying to use the Google Calendar Data API in Mobile Application
Project at NetBeans. I can't find the java.net.URL class required for
the following code:
CalendarService myService = new CalendarService("exampleCo-
exampleApp-1");
myService.setUserCredentials("[email protected]", "mypassword");
// Send the request and print the response
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:");
System.out.println();
for (int i = 0; i < resultFeed.getEntries().size(); i++) {
CalendarEntry entry = resultFeed.getEntries().get(i);
System.out.println("\t" + entry.getTitle().getPlainText());
}
I was using the S60 3rd MIDP SDK FP1 (Java plataform for Symbian OS).
I its possible to use the GData Calendar API in mobile applications? I
am going through the wrong way?
Thanks a lot!
Sorry for my poor english! =(
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---