An html5 game does not work in webview offline. To solve this, game developers use phonegap cordova. It is a plugin that works as player to run html5 games offline.
I was thinking about this question. What does phonegap really do? Does he have uses a webview? If it uses a webview how the webview works offline?
You did not understand the question.
If you put a webview into a b4a application and load an html5 game it will not work offline. However, phonegap makes the same html5 game work offline. The question is how he does it?
You did not understand the question.
If you put a webview into a b4a application and load an html5 game it will not work offline. However, phonegap makes the same html5 game work offline. The question is how he does it?
"Exported games won't work until you upload them. (When running on the file:/// protocol, browsers block many features from working for security reasons.)"
I found a partial solution.
If anybody someday need work with html5 games on android webview this can help.
setAllowUniversalAccessFromFileURL (Added in API level 16)