Android webview loadDataWithBaseURL how load images from assets?
try like this WebView webview = (WebView)this.findViewById(R.id.webview); String html = “<html><head><title>TITLE!!!</title></head>”; html += “<body><h1>Image?</h1><img src=\”icon.png\” /></body></html>”; webview.loadDataWithBaseURL(“file:///android_res/drawable/”, html, “text/html”, “UTF-8”, null); For more information try this link perfect LoadDataWithBaseurl