I want to show local image instead of web page's image using webview in Android. How can I do that?
Asked
Active
Viewed 101 times
0
-
Are you talking about an img element with a local file, if so just use a file:// URL? – JHH Apr 02 '21 at 22:06
-
But image is one part of web page and I want to show total part of web page and only change img tag. – Yong Ju Apr 02 '21 at 22:07
-
You can load a remote page and then load your own custom javascript to modify the dom of the loaded page. Similar question with answer here. https://stackoverflow.com/a/5010864/1226020 – JHH Apr 02 '21 at 22:20