I'm developing an application for a Clinical Analysis Lab. It has an online system where you can view the results.
On the site, it has a list of all the exams of the client and when I click on the link to open the exam, it loads a PDF in a new tab, this through the Desktop. By Mobile, when I click on it, it appears to open a blank tab in WebView, but it does not load any PDF, without downloading the PDF.
My Code:
wv = (WebView) findViewById(R.id.webViewResultados);
WebSettings ws = wv.getSettings();
ws.setJavaScriptEnabled(true);
ws.setSupportZoom(false);
ws.setAllowFileAccess(true);
wv.loadUrl("http://187.17.196.42:8181/ConcentWeb/servlet/hlab8000");
wv.setWebViewClient(new WebViewClient());