Android Question Loading HTML form local proble

bixmatech

Member
Licensed User
Dear,
I am trying to load a html file from local. I put the html file in Files folder, adn using this code, but when trying it on android, it shows an error indicating the file is not found, any idea?
B4X:
    Dim myw As WebView
    myw.Initialize("myw")
    Activity.AddView(myw, 0, 0, 100%x, 100%y) 'Your options for size here
    myw.LoadUrl("file://" & File.Combine(File.DirInternal, "no_internet.html"))
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…