Display image issue with loadDataWithBaseURL () in Android
In my application, I am displaying data in a webview, but it cannot display images in a webview.
I used loadDatawithBaseURL () method.
This is my code.
webview.loadDataWithBaseURL ("file: /// 059600656X /", data, "text / html", "UTF-8", "about: blank");
// data here is a string object containing gtml parsing data.
I think he cannot find images in the given directory.
Can anyone help me?
+2
a source to share
3 answers