I am developing an application in which I am loading an HTML page inside Webview. I am to use an image in that HTML which is inside my drawable. How would I give path to that image inside HTML.
Asked
Active
Viewed 82 times
0
-
https://stackoverflow.com/questions/4534043/android-add-image-to-webview-from-a-drawable – AskNilesh Sep 24 '18 at 09:59
-
That solution didn't work file:///android_res/drawable/example.png – Mohammad Aamir Sep 24 '18 at 10:07
-
@NileshRathod That solution didn't work file:///android_res/drawable/example.png – Mohammad Aamir Sep 24 '18 at 10:12