Tuesday, June 15, 2010

[android-developers] Re: Standalone java code is not working in the same way from android.

Thank you,

Is there any alternate way that I can try approaching or should I just
give up? I need to implement gdata client login for accessing google
health records.

On Jun 15, 12:13 pm, fadden <fad...@android.com> wrote:
> On Jun 15, 10:30 am, Achanta <krishna.acha...@gmail.com> wrote:
>
> > I am trying to integrate Google Health on android and am trying to use
> > a client login example which is working fine as a standalone java
> > program. But when I implement the same in android it gives me all
> > these errors. I guess I am missing some saxparser
> > libraries.
>
> The problem is this:
>
> > I/dalvikvm(10388): Could not find method javax.xml.parsers.SAXParserFactory.getSchema, referenced from method com.google.gdata.util.common.xml.parsing.SecureGenericXMLFactory $SecureSAXParserFactory.getSchema
> > I/dalvikvm(10388): Could not find method javax.xml.parsers.SAXParserFactory.setSchema, referenced from method com.google.gdata.util.common.xml.parsing.SecureGenericXMLFactory $SecureSAXParserFactory.setSchema
>
> Looking at the Eclair version of SAXParserFactory:
>
> http://android.git.kernel.org/?p=platform/dalvik.git;a=blob;f=libcore...
>
> the definition of getSchema() is commented out, with the remark "TODO
> No XSchema support in Android 1.0. Maybe later."
>
> So this won't work yet.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment