I'm working on a mobile app, for that I use html5/js with Phonegap.
I store some data in a local database with window.openDatabase(...).
That's work fine with Android 2.x But when I try with Android 4.0.3, I catch the following error :
D/CordovaLog(698): Uncaught TypeError: Object [object DOMWindow] has no method 'openDatabase'
alert("Error: can't open local database");
alert("Error: localstorage not usable");
var db = window.openDatabase("Database", "1.0", "DatabaseName", 200000);
window.OpenDatabase() method since the start. You may want to see this StackOverflow thread: Android 4.0.1 breaks WebView HTML 5 local storage?