I created an asset folder in android studio, and placed a png image called graph, the problem now is i created an html string and loaded it in a webview but the image does not display, here is my code below?
String introString =" <html><body> \n" +
"<img src=file:///assets/graph.png>"+
"</body></html>";
WebView wv = (WebView)this.findViewById(R.id.sexcompwebView);
wv.getSettings().setDefaultFontSize(10);
wv.getSettings().setBuiltInZoomControls(true);
wv.getSettings().setDisplayZoomControls(false);
wv.getSettings().setJavaScriptEnabled(true);
wv.loadDataWithBaseURL(null, introString, "text/html", "utf-8", null);
question is what am i missing?