On Dec 21, 6:42 pm, "shen jabco" <jabco.s...@gmail.com> wrote:
> I want to get the pdf text content by use pdfbox.jar in android app, but
> but this works fine on my common java app(non-android platform), is there
> any different on VMs of android or some permission setting?

yes... there are differences between android VM and sun JSE VM..
so... probably there`s some unsuported API in pdfbox whenever ported
on android.
so I suggest you to find pdf API that`s android supported or..
you could customize the pdfbox to make it suitable for android
platform.

best regards,
Reza

> failed to get the message:
>
> *java.lang.verifyerror : org.pdfbox.pdfparser.pdfparser*
>
> but this works fine on my common java app(non-android platform), is there
> any different on VMs of android or some permission setting? I am a new
> developers , can someone give some suggestion and help
>
> This is part of my code in android app:
> *InputStream is = mContext.openFileInput("pdf2.pdf");
> PDFParser parser = new PDFParser(is);
> parser.parse();  *
>
> pdf2.pdf is in the dir: /data/data/myandroidPackage/files/pdf2.pdf
>
> Jabco

--~--~---------~--~----~------------~-------~--~----~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to