How to address the app inventor asset inside our HTML code to display in webview whenever the HTML file call to display.
Asset may be image file or .obj or .gltf file etc.
if you want to load html from assets,use http://localhost/myfile.html
if you want to use some assets inside your html, better copy all assets to same folder with the html.
2 Likes
if the files are pictures or other files use localhost too?
no
this thread is about
so if you followed this tip
then the answer is
<img src="myImage.png" alt="" title="">
Taifun