Does anyone know of a PDF text extraction library that works for Android? To be clear all I want to do is extract text from an existing PDF. I have no use for extracting images, or creating pdfs. I have tried IText, and found that it generates an error (could not find class com.lowagie.text.pdf.PdfReader). I have also tried DroidText which generates the same error.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Many people have problems about reading/extract Text (PDF) on Android.
Did you try to check here ? PDF Library for Android
I think you can find good solutions there. Tell me if you need more information about that.
回答2:
MuPDF exists on Android, and has a text extraction capability. Its GPL. Although its only a viewer on Android, the library clearly can be compiled on Android (its what the viewer uses after all).
www.mupdf.com