this.initialized = false;
// need to initialize our storage databasetry{this._db = new air.SQLConnection();
this._db.open(air.File.applicationStorageDirectory.resolvePath(this.DATABASE_FILE));
this._sql("CREATE TABLE IF NOT EXISTS " + this.TABLE_NAME + "(namespace TEXT, key TEXT, value TEXT)");
this._sql("CREATE UNIQUE INDEX IF NOT EXISTS namespace_key_index ON " + this.TABLE_NAME + " (namespace, key)");
this.initialized = true;
}catch(e){
console.debug("dojox.storage.AirDBStorageProvider.initialize:", e);
}// indicate that this storage provider is now loaded
dojox.storage.manager.loaded();