I am creating an application using PDFRenderer at API 5.0 I had to add pdfrenderer.jar externally also now it show's the following error - "The constructor PDFRenderer(ParcelFileDescriptor) is undefined" Can anyone help... This is new to me..
Use PDFRenderer(ParcelFileDescriptor input)
where input is a seekable file descriptor.
Pdf Renderer basically takes a file descriptor as its parameter and you havent supplied any.
Refer the developer page https://developer.android.com/reference/android/graphics/pdf/PdfRenderer.html