window.openDatabase throws TypeError: Object[object DOMWindow] has no method 'openDatabase' on Android
===

I'm using Sencha Touch 2.0.1 and am trying to open a SQLite Database using: 

    var db = window.openDatabase("mydatabase", "1.0", "mydatabase", 2000000);

On the iPhone/IOS Simulator this works. On an Android device or emulator I get an exception:

    TypeError: Object[object DOMWindow] has no method 'openDatabase'


I'm using Sencha to build native apps (though am rapidly losing faith...) so am not using PhoneGap.

Sencha's packaging creates and AndroidManifest.xml file but I can't see permissions set for 

    android.permission.WRITE_EXTERNAL_STORAGE

I'm not sure if this is the problem though!

Any help greatly appreciated as this is driving me quietly nuts.


