What I am trying to achieve:
- download a zip file from a known URL
- that zip file contains a html file + js + css + images (all files in the same folder)
- I will then unzip the archive in : rp.GetSafeDirDefaultExternal("MYPAGE") or File.DirInternal
- then I would like to open/show that html file, probably in a Webview.
If I understood right, on the SDK30 the Webview and LoadUrl("file://"...) is not usable anymore, and also most searches I did on subject shown that the html will load with related items if they are placed in Assets folder only ?
My trouble is that the html and its related files are not known at compile time.
I have tried with : Webview.loadhtml( File.readstring( File.DirInternal, "index.htm" ))
and when loading it shows just the non-formatted html (no any images loaded, no js or css applied).
Any other way to locally load such html in application (not external browser) ?
- download a zip file from a known URL
- that zip file contains a html file + js + css + images (all files in the same folder)
- I will then unzip the archive in : rp.GetSafeDirDefaultExternal("MYPAGE") or File.DirInternal
- then I would like to open/show that html file, probably in a Webview.
If I understood right, on the SDK30 the Webview and LoadUrl("file://"...) is not usable anymore, and also most searches I did on subject shown that the html will load with related items if they are placed in Assets folder only ?
My trouble is that the html and its related files are not known at compile time.
I have tried with : Webview.loadhtml( File.readstring( File.DirInternal, "index.htm" ))
and when loading it shows just the non-formatted html (no any images loaded, no js or css applied).
Any other way to locally load such html in application (not external browser) ?