1. Check out our companion app, Forums for Android! Download from Google Play

error in reading g-data

Discussion in 'Application Development' started by kamiomar, Jun 29, 2010.

  1. kamiomar

    kamiomar Member
    Thread Starter

    Apr 27, 2010
    Software Eng.
    Pakistan Karachi
    From different post i have concluded that insertion, deletion and updation in Calendar is only possible by using g-data.
    Therefore i am using g-data 1.41.3 with android 1.5 api level 3.
    Problem is that , i am using the following code.

    1 // Send the request and receive the response:
    2 // the code is use for reading Calendar Content
    3 // feedUrl =
    5 CalendarFeed resultFeed = service.getFeed(feedUrl, CalendarFeed.class);
    7 // Print the title of each calendar
    8 for (int i = 0; i < resultFeed.getEntries().size(); i++) {
    9 CalendarEntry entry = resultFeed.getEntries().get(i);
    10 System.out.println("\t" + entry.getTitle().getPlainText());
    11 }
    problem is that application throwing exception on line no. 5. Exception is as follow:

    java.lang.VerifyError: com.google.gdata.util.common.xml.parsing.SecureGenericXMLFactory$SecureSAXParserFactory

    and in different forum it is mention that No XSchema support in Android 1.0. Maybe later version.
    how i can read calendar contents? it is noted that without android its working fine.


Share This Page