B bixmatech Member Licensed User Oct 17, 2017 #1 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? Code: Copy 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"))
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? Code: Copy 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"))
DonManfred Expert Licensed User Longtime User Oct 17, 2017 #2 https://www.b4x.com/android/forum/t...es-in-the-assets-directory.69996/#post-444559 Upvote 0