From: Radek Czajka Date: Thu, 8 Sep 2011 23:06:18 +0000 (+0200) Subject: db upload fix X-Git-Url: https://git.mdrn.pl/wl-mobile.git/commitdiff_plain/HEAD?ds=inline db upload fix --- diff --git a/AndroidManifest.xml b/AndroidManifest.xml index ba87eca..9e15f71 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -1,6 +1,6 @@ + package="pl.org.nowoczesnapolska.wlmobi" android:versionName="1.1.1" android:versionCode="4"> 1) { - self.upload_db_android(done, error); - } else { - error && error("Nieobsługiwana wersja systemu. Wymagany Android>=2.0."); - }; + self.upload_db_android(done, error); }; this.upload_db_android = function(success, error) { - // TODO: this should be downloaded from teh net, not stored in res - console.log('upload db for Android 2.x+'); - // upload databases description file var dbname = "wolnelektury"; var db = window.openDatabase(dbname, "1.0", "WL Catalogue", 500000);