Reputation: 1505
I am trying to use google api / gdata to access calendar. It worked fine while playing with standard Java. But I have started getting
java.lang.NoClassDefFoundError: com.google.gdata.client.calendar.CalendarService
as soon as I call,
CalendarService myService = new CalendarService("My Application");
when I was trying to use it on Android. What am I missing? Thanks much, in advance...
Upvotes: 1
Views: 278
Reputation: 6397
To access Calendar APIs from Android, it is recommended to use the Google APIs Client Library for Java
You can check out the android samples
It appears that using gdata api from android is no longer being developed.
see How to add data to Google calendar programmatically in android? for more discussion.
Upvotes: 1