Android Question Webview +

Marcos Alves

Well-Known Member
Licensed User
Longtime User
Hi @Erel ,

I´m using animated gifs inside webviews to show images in my applications. But using this method the user must to be connected to internet to see the images (what is good because you can refresh only in server and automatically get all your app base updated but is bad because your app only works on line)
I read some resources to load local html files into webviews but when I do that there is no images, only text (I read a html file from dirassets into a string and load to webview).
How can I show images in local loaded html files (I already put the images in dirassets - file tab - , whith html original reference path - /image - and changed the reference in html file to the file root - none worked!)
Is it possible to show images in webviews loaded from local html files?

Thanks!
 
Top