I want to read PDFs within the app for Android. is there any inbuilt library which supports such a functionality. If yes please post the code.
Asked
Active
Viewed 50 times
1 Answers
1
No.
Unfortunately, there is no built-in PDF reading functionality in Android.
Here are your possibilities:
Use a third-party library
There are some free libraries, but most are GPL - so not for use in closed-source apps)
If you don't have to keep your app closed source, I'd recommend e.g. this library: https://github.com/JoanZapata/android-pdfviewUse Google Docs in a
WebView
like in this question.Handle the pdf to an external app for displaying. Just create an intent and set the data to your pdf path.
-
Google Docs doesn't recognize links in the PDF. – user3053286 Apr 10 '14 at 20:41