webview = (WebView) findViewById(R.id.webview);
webview.getSettings().setJavaScriptEnabled(true);
webview.loadUrl("http://officeofthemufti.sg/MaulidBooklet.pdf");
I am using WebView try to loading pdf file, but all I got is empty blank. What is the problem here or I missed something?
Android does not have a PDF viewer, and WebView cannot render PDFs.
you can use the following: