I save index.html in the system.DocumentsDirectory then request that page but get a “there was a network error” alert.
* The file exists (I tested with system.pathForFile)
* The file displays fine when it is read from the system.ResourceDirectory
* I added Internet permission
code:
local webView = native.newWebView( 0, 0, 320,480 )
webView:request( “index.html” ,system.DocumentsDirectory)
my android is a samsung galaxy s3.
Is there something I am missing?
thanks!