views:

15

answers:

1

Hi,

i am currently using gdata vesion 1.41.3 and android api level 3. i am trying to use the Calendar feature of gdata. my source code is]

try {

   CalendarService myService = new CalendarService(
     "exampleCo-exampleApp-1");
   myService.setUserCredentials("[email protected]", "xxx");

   // 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());
   }
  } catch (Exception e) {
   Log.e("", e.toString());
  }

the code throwing following Exception:

com.google.gdata.util.common.xml.parsing.SecureGenericXMLFactory$SecureSAXParserFactory

need help ???

A: 

till now gdata not supported on android. http://code.google.com/p/android-gdata/

no g data libraries available.

Kamran Omar