0

I have a file named as "policy" in R.raw folder. I want to show this file inside a webview so that user can view this file inside it.

Talha Akbar
  • 621
  • 4
  • 17
  • I finally got the inputstream of that raw file and used a pdf viewer library: https://github.com/barteksc/AndroidPdfViewer and it is working good. – Talha Akbar Mar 12 '21 at 07:12
  • 1
    Well done. So you know by now that a WebView cannot display a pdf document to begin with. – blackapps Mar 12 '21 at 10:03

0 Answers0