The "Files" directory in the IDE adds the file(s) to the APK, to get the file in your code you have to use File.DirAssets, for more information, read THIS
Note that sometimes you might need to copy the file(s) from the assets to the SDCard, you can search the forums or read the documentation for more info.
Dim FileHTML As String
FileHTML = File.DirAssets & "/dovesiamo.htm"
WebView1.Initialize("")
Activity.AddView(WebView1,0,0,100%x,100%y)
WebView1.LoadUrl("file://" & FileHTML)
The right way should be:
B4X:Dim FileHTML As String FileHTML = File.GetText(File.DirAssets, "dovesiamo.htm") WebView1.Initialize("") Activity.AddView(WebView1,0,0,100%x,100%y) WebView1.LoadUrl(FileHTML)
WebView1.LoadHtml (FileHTML)