Hi Yegor,

Actually I took all the source code of  ooxml-schema1.1.jar, xmlbeans.jar,
dom4j.jar  and I ported and compiled in android as a library, but anyway it
will not create the apk. I compiled by adding javax.xml.stream package ,
since android does not support some of the java APIs
(javax.xml.stream.StreamReader , java.awt.).

I referred these compiled source code (ooxml-schema1.1) in my android
application, which is having Apache POI source code (scratchpad, ooxml,
java), and I tried to parse one 2007 Word document, but it is giving the
following exception

07-28 12:25:58.882: ERROR/AndroidRuntime(1372): java.lang.VerifyError:
org.apache.poi.xwpf.usermodel.XWPFDocument


But I am able to parse MS 2003 documents without this ooxml-schema.jar and
the ooxml files.




Regards,
Jebarlin Robertson.R



On Thu, Jul 28, 2011 at 1:59 PM, Yegor Kozlov <[email protected]> wrote:

> the ooxml-schema.jar is 14 MB. I'm not sure that Android can swallow that
> big.
>
> How do you compile ooxml-schema.jar ? Does compile-ooxml-xsds task in
> POI's build.xml work for you? What messages / exceptions are you
> seeing?
>
> Yegor
>
> On Thu, Jul 28, 2011 at 12:01 PM, Jebarlin Robertson <[email protected]>
> wrote:
> > Hi,
> >
> >
> > I am trying to develop an application to view MS Office document in
> android
> > by using Apache POI.
> >
> > I could complete and parse the MS Office 2003 Document formats.
> >
> > But I am trying to port Apache POI into android for MS Office 2007
> format.
> >
> > I am unable to build  the source code in android, because of the
> > ooxml-schema.jar file.
> >
> > I tried to get the source code and build, but still it is not working.
> >
> > *Can anybody help me to build the apache POI for MS Office 2007 format in
> > Android?*
> >
> >
> > --
> > Thanks & Regards,
> > Jebarlin Robertson.R
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
Thanks & Regards,
Jebarlin Robertson.R
GSM: 91-9538106181.

Reply via email to