From bff5852b5ee1320a6eaf4256570784bbc024496f Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Fri, 9 Sep 2011 01:06:18 +0200 Subject: [PATCH 1/1] db upload fix --- AndroidManifest.xml | 2 +- assets/www/js/catalogue.js | 10 +--------- 2 files changed, 2 insertions(+), 10 deletions(-) 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); -- 2.20.1