mWebView=(WebView) findViewById(R.id.webView1);
// web.loadUrl(url.getimageurl());
mWebView.setBackgroundColor(0x00000000);
mWebView.getSettings().setLayoutAlgorithm(LayoutAlgorithm.SINGLE_COLUMN);
mWebView.loadUrl(path);
mWebView.setWebViewClient(new WebViewClient() {
public void onPageFinished(WebView mWebView, String path) {
// do your stuff here
mWebView.getSettings().setRenderPriority(RenderPriority.HIGH);
mWebView.getSettings().setCacheMode(WebSettings.LOAD_NO_CACHE);
mWebView.loadUrl(path);
}
});
// web.loadUrl(url.getimageurl());
mWebView.setBackgroundColor(0x00000000);
mWebView.getSettings().setLayoutAlgorithm(LayoutAlgorithm.SINGLE_COLUMN);
mWebView.loadUrl(path);
mWebView.setWebViewClient(new WebViewClient() {
public void onPageFinished(WebView mWebView, String path) {
// do your stuff here
mWebView.getSettings().setRenderPriority(RenderPriority.HIGH);
mWebView.getSettings().setCacheMode(WebSettings.LOAD_NO_CACHE);
mWebView.loadUrl(path);
}
});