Reading in HTML code to MIT Appinventor App

Hi, I have added a HTML file I wrote to Media from my hard drive but can't seem to run it from Webviewer using the file path.

Some people use http://localhost/HelloWorld.html, how do I set this up please?

Regards,

James

IMU University, Malaysia

This works when the html file is in the assets (media folder). If the html file is located elsewhere in the android file system, then you will need to provide a full file path to the file, e.g.

file:///storage/emulated/0/Download/index.html

and you will need the correct permission / ownership to access the file.

(added to FAQ)