0

Possible Duplicate:
PDF parsing library for Android?
How to read pdf in my android application?

I have to make a application that would read a PDF document. I don't want to use external application to read PDF document.

is there an API for reading PDF that i can implement in my application? a API that will let me search and extract text from a PDF document.

Community
  • 1
  • 1
Christian Eric Paran
  • 980
  • 6
  • 27
  • 49
  • 1
    Have you tried search before - http://stackoverflow.com/q/10299839/940096 And, if you wanna do some features like extract text and searching text and etc. You can take a look at [this](http://stackoverflow.com/a/11027745) – Praveenkumar Oct 15 '12 at 13:34
  • what you're trying to achieve is slightly outside the android philosophy. Android was buit on small re-usable blocks (heritage from it's linux base), so that you can focus on your actual app and not have to re-write existing stuff. – Budius Oct 15 '12 at 14:01
  • @Budius what do you mean by re-write existing stuff? – Christian Eric Paran Oct 15 '12 at 14:05

1 Answers1

-1

You can use ITextPDf Tool Library Tool Example

Or you can create a blank file and write on it as a byte code like this Example

Rajesh Rajaram
  • 3,271
  • 4
  • 29
  • 48
  • Thanks for the answer but i want a API that would Search and Extract text from a PDF Document. – Christian Eric Paran Oct 15 '12 at 13:39
  • I think there is no direct API for PDF in android. – Rajesh Rajaram Oct 15 '12 at 13:41
  • @ChristianEricParan PDF document parsing in iText recently has evolved substantially; depending on your requirements you might, therefore, want to look at a current version of it (5.3.x). It comercially is also available in a special Android version. – mkl Oct 15 '12 at 14:13