Have a webpage running HTML5 javascript webapp in a webview (with WebViewExtras and WebViewSettings). The webapp writes SQL tables and local storage.
This storage gets cleared at sometime. During Activity_Create with firstTime=true, the database and local storage are gone and the whole webapp resets, not a good user experience.
Is this because the webview process has been cleaned up by Android ? If so, how to stop the cached database from being lost?
I've tried using a WebViewSettings.databasepath of File.DirInternalCache and a directory I made myself in /sdcard, some problem.
Any suggestions!
Thanks
This storage gets cleared at sometime. During Activity_Create with firstTime=true, the database and local storage are gone and the whole webapp resets, not a good user experience.
Is this because the webview process has been cleaned up by Android ? If so, how to stop the cached database from being lost?
I've tried using a WebViewSettings.databasepath of File.DirInternalCache and a directory I made myself in /sdcard, some problem.
Any suggestions!
Thanks