pdfRender in android studio using API min 17

2.2k Views Asked by At

i'm creating project using android studio, my project using pdfRender from android developer, but it just can using API 23. when i'm change using API 17, the libary is error. please give me solution.

2

There are 2 best solutions below

2
On BEST ANSWER

As may you notice this library was added in API 21, as it is described below: http://developer.android.com/reference/android/graphics/pdf/PdfRenderer.html

For older API, please check one of the alternatives mentioned in this post:

Google Code has some nice source code for reading pdf in android

I hope there is something you can use

From: Pdf viewer api/library for android app?

0
On

Ive found a more recent library that could help us to make pdf works since API 11. https://github.com/barteksc/AndroidPdfViewer

Hope this help other people looking for this.