-2

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

uttab 2018
  • 17
  • 3
  • 2
    You have of course to download the pdf from server to phone. And as a webview cannot display a pdf there is no reason to use a webview. – blackapps Sep 01 '21 at 07:40

1 Answers1

0

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)

Viktor Jovanovski
  • 1,513
  • 10
  • 26