Android Question Loading html file to webview.

microbox

Active Member
Licensed User
Longtime User
Just want to ask how to display html file on webview. I'm using this code
B4X:
'WebView1.LoadUrl("file:///" & File.Combine(File.DirAssets, "main.html"))
but it displays Webpage not available, I added "main.html" to the File folder.


Thanks,
microbox
 
Top