I want to display pdf contents on webview.
Here is my code:
When i am trying to run the application, at that time I am getting blank screen.
And also, if there is any PDF viewer then also suggest me !!
FYI, I have already set internet permission.
Finally, i got a solution, actually i made a trick to load a pdf file using Google Docs inside a webview:
You can try using mupdf (www.mupdf.com) You can build a native code library (libmupdf.so) to be loaded onto your android project using the ndk. This would ensure a lot faster rendering of pdf files... check out the project at : http://mupdf.com/repos/mupdf/android/
WebView does not have a PDF plugin. You should store the PDF locally and open an intent for viewing that kind of content.