Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
Private wv1 As WebView
End Sub
Sub Activity_Create(FirstTime As Boolean)
'Do not forget to load the layout file created with the visual designer. For example:
Activity.LoadLayout("hc")
File.Copy(File.DirAssets, "index.html", File.DirInternal, "index.html")
File.MakeDir(File.Dirinternal, "images")
'To define a External root Dir here is very important
File.Copy(File.DirAssets, "auto.png", File.Dirinternal & "/images", "auto.png")
File.Copy(File.DirAssets, "DALB.png", File.Dirinternal & "/images", "DALB.png")
File.Copy(File.DirAssets, "img0001.gif", File.Dirinternal & "/images", "img0001.gif")
wv1.LoadUrl("file://" & File.Combine(File.DirInternal, "index.html"))'ok sans image
...
end sub