Since this afternoon I've got a very strange error with webview. I've done this 100 times, but now it didn't work anymore. this is the code (project is attached, because it contains an image and a htmlpage):
B4X:
Sub Activity_Create(FirstTime As Boolean)
'Do not forget to load the layout file created with the visual designer. For example:
'Activity.LoadLayout("Layout1")
Dim wv As WebView
wv.Initialize("")
Activity.AddView(wv,0,0,100%x,100%y)
wv.Loadhtml(File.ReadString(File.DirAssets, "impressum.html"))
Log(File.ReadString(File.DirAssets, "impressum.html"))
Log("File exists " & File.Exists(File.DirAssets, "impressum_logo.png"))
End Sub
even my older projects, which worked before don't work anymore....I am a little bit desperated at the moment
[UPDATE] the zip is updated. The error is not related to B4A 5.80. Same on other computer with B4A 5.50. I am confused, because a project which i compiled today shows the same error, but 1 week ago, same code, all was ok??? feeling like a newbie...
thanks a lot, that helps. It looks like image below in DEBUG mode, but in Release mode it is ok...puuuhhh puuuuhh....I don't understand it, but that is finally ok. May be one of the experts will explain it to me one day