From c7aab15411aefef5f1bc148c9c4fc54be8c10817 Mon Sep 17 00:00:00 2001 From: drizea Date: Wed, 25 Jul 2012 17:47:19 +0300 Subject: [PATCH] added first application run configuration dialog if running the application for the first time the user must set an library http server address and username and password for his account. For now the logic at launch is that the application will not start if there if no network access, and if there is route to library server url the application will start a configuration dialog. When the correct http server address is entered the splash screen will start and IDL and orgTree files will be downloaded and parsed --- .../res/layout/dialog_configure_application.xml | 86 ++++++++ Open-ILS/src/Android/res/values/strings.xml | 7 + .../android/accountAccess/AccountAccess.java | 14 +- .../evergreen/android/globals/GlobalConfigs.java | 2 +- .../searchCatalog/SearchCatalogListView.java | 51 +---- .../android/views/splashscreen/LoadingTask.java | 25 ++- .../android/views/splashscreen/SplashActivity.java | 235 ++++++++++++++++++--- 7 files changed, 342 insertions(+), 78 deletions(-) create mode 100644 Open-ILS/src/Android/res/layout/dialog_configure_application.xml diff --git a/Open-ILS/src/Android/res/layout/dialog_configure_application.xml b/Open-ILS/src/Android/res/layout/dialog_configure_application.xml new file mode 100644 index 0000000000..95434a1ff5 --- /dev/null +++ b/Open-ILS/src/Android/res/layout/dialog_configure_application.xml @@ -0,0 +1,86 @@ + + + + + + + + + + + + + + + + + + + + + + + + + +