I'm loading a local html file into a webview. The html code is linking images that are also stored in the asset dir. I have tried several variations with no luck. I'm sure that I'm missing something easy but it seems to be escaping me tonight. :sign0163:
A small example of loading an image from the assets file is available in the manual: Basic4android - Views (Core)
Note that the file names should be referenced with lower case names.
I'm still unclear about the images. Say I have MyImage01.jpg added to the assets folder how can I sue LoadURL() method and have that image referenced in the HTML code ?
or I can only use LoadHYML()?
I have an activity which supposed to display an HTML file. It works but when I added an image to the HTML file and I added the file to the FILES tab the App displays only an image placeholder with the name (no image). any ideas ?
Is that the same for all local linked files? .js .css files etc ? im using html file that uses local image and i had in the normal html way <img src='picture.jpg'/> and it still showed ?