Show pdf in android app without download it and without using web view

108 Views Asked by At

I put a pdf file on the server. Now I want to show the pdf file in the Android application without downloading the file and without using the web view. I found the library but it did not show anything and I do not know why !! This Library is -> https://github.com/barteksc/AndroidPdfViewer

1

There are 1 best solutions below

0
happyBaby On

AndroidPdfViewer needs to download the pdf file, the PDFjs library can support web-side access, and WebView loading "http://docs.google.com/gview?embedded=true&url=" +pdfUrl (pdf link)