where do i put the 1a.hml file in orede to dysplay it in the AssetsDir?
my code is the following
my code is the following
B4X:
Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
Dim webview1 As WebView
End Sub
Sub Activity_Create(FirstTime As Boolean)
webview1.Initialize("webview1")
Dim url="file:///" & File.Combine(File.DirAssets, "1a.html")
Log("Loading " & url)
webview1.LoadUrl(url)
Activity.AddView(webview1, 0, 0, 100%x, 100%y)
End Sub