Not able to load image while converting html to PDF using WebView in Android.
try this:-
Your webview should look like this:
Your webview should look like this:
mWebView.getSettings().setAllowFileAccess(true);
mWebView.getSettings().setDomStorageEnabled(true);
mWebView.getSettings().setAppCacheEnabled(true);
mWebView.getSettings().setLoadsImagesAutomatically(true);
mWebView.getSettings()
.setMixedContentMode(WebSettings.MIXED_CONTN
T_ALWAYS_ALLOW);
Comments
Post a Comment