I tried to use this alpha version but if I'm importing the jars from the api (all, inclusive the dependencies) eclipse tells me "The project cannot be built until build path errors are resolved" without saying what kind of build path errors there are. :S Do you by chance know which jars I need to import? I searched the api site ( http://code.google.com/p/google-api-java-client/ ) and the relative google group but couldn't find any help or tutorials how to set up the libraries.
On 18 Aug., 19:15, RichardC <[email protected]> wrote: > may have found > something:http://www.google.com/support/forum/p/apps-apis/thread?tid=0ae0796f8b... > > On Jun 30, 5:47 pm, Tushar <[email protected]> wrote: > > > Hi , > > > I am developing an Android app which creates a newcalendaron the > > google server. > > Though thecalendardoes get created, I get an exception . > > This is how I insert thecalendar. > > > CalendarService service = new CalendarService("CalendarFeed`"); > > CalendarEntrycalendar= new CalendarEntry(); > > //Some code > > URL postUrl = new URL( > > "http://www.google.com/calendar/feeds/ > > default/owncalendars/full"); > > service.insert(postUrl,calendar); > > > After thecalendargets inserted , I get the following exception > > > WARN/dalvikvm(922): VFY: unable to resolve virtual method 16724: > > Ljavax/xml/parsers/SAXParserFactory;.getSchema ()Ljavax/xml/validation/ > > Schema; > > WARN/dalvikvm(922): VFY: unable to find class referenced in signature > > (Ljavax/xml/validation/Schema;) > > WARN/dalvikvm(922): VFY: unable to resolve virtual method 16732: > > Ljavax/xml/parsers/SAXParserFactory;.setSchema (Ljavax/xml/validation/ > > Schema;)V > > WARN/XmlParser(922): javax.xml.parsers.ParserConfigurationException: > > org.xml.sax.SAXNotRecognizedException:http://xml.org/sax/features/external-parameter-entities > > WARN/XmlParser(922): javax.xml.parsers.ParserConfigurationException: > > org.xml.sax.SAXNotRecognizedException:http://xml.org/sax/features/external-parameter-entities > > WARN/XmlParser(922): at > > org.apache.harmony.xml.parsers.SAXParserFactoryImpl.newSAXParser(SAXParserFactoryImpl.java: > > 84) > > WARN/XmlParser(922): at > > com.google.gdata.util.XmlParser.parse(XmlParser.java:682) > > WARN/XmlParser(922): at > > com.google.gdata.util.XmlParser.parse(XmlParser.java:576) > > WARN/XmlParser(922): at > > com.google.gdata.data.BaseEntry.parseAtom(BaseEntry.java:1015) > > WARN/XmlParser(922): at > > com.google.gdata.wireformats.input.AtomDataParser.parse(AtomDataParser.java: > > 59) > > WARN/XmlParser(922): at > > com.google.gdata.wireformats.input.AtomDataParser.parse(AtomDataParser.java: > > 39) > > WARN/XmlParser(922): at > > com.google.gdata.wireformats.input.CharacterParser.parse(CharacterParser.java: > > 100) > > WARN/XmlParser(922): at > > com.google.gdata.wireformats.input.XmlInputParser.parse(XmlInputParser.java: > > 52) > > WARN/XmlParser(922): at > > com.google.gdata.wireformats.input.AtomDualParser.parse(AtomDualParser.java: > > 66) > > WARN/XmlParser(922): at > > com.google.gdata.wireformats.input.AtomDualParser.parse(AtomDualParser.java: > > 34) > > WARN/XmlParser(922): at > > com.google.gdata.client.Service.parseResponseData(Service.java:2165) > > WARN/XmlParser(922): at > > com.google.gdata.client.Service.parseResponseData(Service.java:2098) > > WARN/XmlParser(922): at > > com.google.gdata.client.Service.insert(Service.java:1410) > > WARN/XmlParser(922): at > > com.google.gdata.client.GoogleService.insert(GoogleService.java:606) > > WARN/XmlParser(922): at > > NewCalendar.createCalendar(SetupCalendarNameActivity.java:205) > > WARN/XmlParser(922): at > > NewCalendar.handleCalendar(SetupCalendarNameActivity.java:113) > > WARN/XmlParser(922): at NewCalendar.access > > $2(SetupCalendarNameActivity.java:104) > > WARN/XmlParser(922): at NewCalendar > > $3$1.run(SetupCalendarNameActivity.java:97) > > WARN/XmlParser(922): at java.lang.Thread.run(Thread.java:1096) > > WARN/System.err(922): com.google.gdata.util.ParseException: > > org.xml.sax.SAXNotRecognizedException:http://xml.org/sax/features/external-parameter-entities > > WARN/System.err(922): at > > com.google.gdata.util.XmlParser.parse(XmlParser.java:708) > > WARN/System.err(922): at > > com.google.gdata.util.XmlParser.parse(XmlParser.java:576) > > WARN/System.err(922): at > > com.google.gdata.data.BaseEntry.parseAtom(BaseEntry.java:1015) > > WARN/System.err(922): at > > com.google.gdata.wireformats.input.AtomDataParser.parse(AtomDataParser.java: > > 59) > > WARN/System.err(922): at > > com.google.gdata.wireformats.input.AtomDataParser.parse(AtomDataParser.java: > > 39) > > WARN/System.err(922): at > > com.google.gdata.wireformats.input.CharacterParser.parse(CharacterParser.java: > > 100) > > WARN/System.err(922): at > > com.google.gdata.wireformats.input.XmlInputParser.parse(XmlInputParser.java: > > 52) > > WARN/System.err(922): at > > com.google.gdata.wireformats.input.AtomDualParser.parse(AtomDualParser.java: > > 66) > > WARN/System.err(922): at > > com.google.gdata.wireformats.input.AtomDualParser.parse(AtomDualParser.java: > > 34) > > WARN/System.err(922): at > > com.google.gdata.client.Service.parseResponseData(Service.java:2165) > > WARN/System.err(922): at > > com.google.gdata.client.Service.parseResponseData(Service.java:2098) > > WARN/System.err(922): at > > com.google.gdata.client.Service.insert(Service.java:1410) > > WARN/System.err(922): at > > com.google.gdata.client.GoogleService.insert(GoogleService.java:606) > > WARN/System.err(922): at > > NewCalendar.createCalendar(SetupCalendarNameActivity.java:205) > > WARN/System.err(922): at > > NewCalendar.handleCalendar(SetupCalendarNameActivity.java:113) > > WARN/System.err(922): at NewCalendar.access > > $2(SetupCalendarNameActivity.java:104) > > WARN/System.err(922): at NewCalendar > > $3$1.run(SetupCalendarNameActivity.java:97) > > WARN/System.err(922): at java.lang.Thread.run(Thread.java:1096) > > WARN/System.err(922): Caused by: > > javax.xml.parsers.ParserConfigurationException: > > org.xml.sax.SAXNotRecognizedException:http://xml.org/sax/features/external-parameter-entities > > WARN/System.err(922): at > > org.apache.harmony.xml.parsers.SAXParserFactoryImpl.newSAXParser(SAXParserFactoryImpl.java: > > 84) > > WARN/System.err(922): at > > com.google.gdata.util.XmlParser.parse(XmlParser.java:682) > > WARN/System.err(922): ... 17 more > > > Here is the list of Jar files i included in the build path. > > activation.jar, > > framework.jar , > > gdata-calendar-2.0.jar, > > gdata-calendar-meta-2.0.jar, > > gdata-client-1.0.jar, > > gdata-client-meta-1.0.jar, > > gdata-core-1.0.jar, > > gdata-docs-3.0.jar, > > gdata-docs-meta-3.0.jar, > > google-collect-1.0-rc1.jar, > > jsr305.jar, > > mail.jar, > > servlet-api.jar. > > > What can be the reason for the exception? > > Would be helpful if someone can tell me how to resolve this.. -- You received this message because you are subscribed to the Google Groups "Android Developers" 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/android-developers?hl=en

