hello.
my app read local html file.
so i added code
local html = { “path.html”,
path2.html",
…
…
}
function select_scene ()
native.setActivityIndicator ( true )
webView = native.newWebView( 0, 40, w, h )
webView:request(htmlNumber, system.ResourceDirectory )
end
function rowListener ( event )
if event.phase == “release” then
htmlNumber = html[html number]
end
end
testing result.
simulrator = ok
ios = ok
android = ok
my app is over the 50mb.
so i added code.
android =
{
usesExpansionFile = true,
usesPermissions =
{
“android.permission.INTERNET”,
“com.android.vending.CHECK_LICENSE”,
“android.permission.WRITE_EXTERNAL_STORAGE”,
and build for google play beta test.
result
file://android_asset/path.html then could not be loaded.
The requested file is not found.
what is wrong…my code.