Hello guys,
was trying to use the Google Calendar Data API in a mobile project
with NetBeans. Im using the S60 3rd Edition FP1 for MIDP (Java
plataform for Symbian). I'm having problems because I can not find the
URL class required in the code below:
CalendarService myService = new CalendarService("exampleCo-
exampleApp-1.0");
myService.setUserCredentials("[email protected]", "pa$$word");
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 its possible to use the Calendar GData API on mobile devices? I am
going in 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
-~----------~----~----~----~------~----~------~--~---