cwmars_app builds using library project 'core' but does not run yet due to missing...
authorkenstir <kenstir@gmail.com>
Mon, 9 Dec 2013 02:59:59 +0000 (21:59 -0500)
committerkenstir <kenstir@gmail.com>
Mon, 9 Dec 2013 02:59:59 +0000 (21:59 -0500)
36 files changed:
Open-ILS/src/Android/core/.idea/modules.xml
Open-ILS/src/Android/core/EvergreenApp.iml [deleted file]
Open-ILS/src/Android/core/EvergreenCore.iml [new file with mode: 0644]
Open-ILS/src/Android/core/core.iml [new file with mode: 0644]
Open-ILS/src/Android/core/project.properties
Open-ILS/src/Android/core/res/values-sw600dp/dimens.xml [new file with mode: 0644]
Open-ILS/src/Android/core/res/values-sw720dp-land/dimens.xml [new file with mode: 0644]
Open-ILS/src/Android/core/src/org/evergreen/android/barcodescan/CaptureActivityHandler.java
Open-ILS/src/Android/core/src/org/evergreen/android/barcodescan/DecodeHandler.java
Open-ILS/src/Android/core/src/org/evergreen/android/utils/ui/BaseSampleActivity.java
Open-ILS/src/Android/core/src/org/evergreen/android/views/AccountScreenDashboard.java
Open-ILS/src/Android/cwmars_app/.gitignore [new file with mode: 0644]
Open-ILS/src/Android/cwmars_app/.idea/.name [new file with mode: 0644]
Open-ILS/src/Android/cwmars_app/.idea/compiler.xml [new file with mode: 0644]
Open-ILS/src/Android/cwmars_app/.idea/copyright/profiles_settings.xml [new file with mode: 0644]
Open-ILS/src/Android/cwmars_app/.idea/encodings.xml [new file with mode: 0644]
Open-ILS/src/Android/cwmars_app/.idea/libraries/dexedLibs.xml [new file with mode: 0644]
Open-ILS/src/Android/cwmars_app/.idea/libraries/libs.xml [new file with mode: 0644]
Open-ILS/src/Android/cwmars_app/.idea/misc.xml [new file with mode: 0644]
Open-ILS/src/Android/cwmars_app/.idea/modules.xml [new file with mode: 0644]
Open-ILS/src/Android/cwmars_app/.idea/scopes/scope_settings.xml [new file with mode: 0644]
Open-ILS/src/Android/cwmars_app/.idea/uiDesigner.xml [new file with mode: 0644]
Open-ILS/src/Android/cwmars_app/.idea/vcs.xml [new file with mode: 0644]
Open-ILS/src/Android/cwmars_app/AndroidManifest.xml [new file with mode: 0644]
Open-ILS/src/Android/cwmars_app/ant.properties [new file with mode: 0644]
Open-ILS/src/Android/cwmars_app/build.xml [new file with mode: 0644]
Open-ILS/src/Android/cwmars_app/cwmars.iml [new file with mode: 0644]
Open-ILS/src/Android/cwmars_app/out/production/cwmars/cwmars.apk [new file with mode: 0644]
Open-ILS/src/Android/cwmars_app/out/production/cwmars/cwmars.unaligned.apk [new file with mode: 0644]
Open-ILS/src/Android/cwmars_app/project.properties [new file with mode: 0644]
Open-ILS/src/Android/cwmars_app/res/drawable-hdpi/ic_launcher.png [new file with mode: 0644]
Open-ILS/src/Android/cwmars_app/res/drawable-ldpi/ic_launcher.png [new file with mode: 0644]
Open-ILS/src/Android/cwmars_app/res/drawable-mdpi/ic_launcher.png [new file with mode: 0644]
Open-ILS/src/Android/cwmars_app/res/drawable-xhdpi/ic_launcher.png [new file with mode: 0644]
Open-ILS/src/Android/cwmars_app/res/values/ou.xml [new file with mode: 0644]
Open-ILS/src/Android/cwmars_app/res/values/strings.xml [new file with mode: 0644]

index dbe6f3a..2a3008e 100644 (file)
@@ -2,7 +2,7 @@
 <project version="4">
   <component name="ProjectModuleManager">
     <modules>
-      <module fileurl="file://$PROJECT_DIR$/EvergreenApp.iml" filepath="$PROJECT_DIR$/EvergreenApp.iml" />
+      <module fileurl="file://$PROJECT_DIR$/EvergreenCore.iml" filepath="$PROJECT_DIR$/EvergreenCore.iml" />
     </modules>
   </component>
 </project>
diff --git a/Open-ILS/src/Android/core/EvergreenApp.iml b/Open-ILS/src/Android/core/EvergreenApp.iml
deleted file mode 100644 (file)
index 2891500..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<module type="JAVA_MODULE" version="4">
-  <component name="EclipseModuleManager" forced_jdk="true">
-    <libelement value="jar://$MODULE_DIR$/libs/android-support-v4.jar!/" />
-    <libelement value="jar://$MODULE_DIR$/libs/org.opensrf2_serialized_reg.jar!/" />
-    <libelement value="jar://$MODULE_DIR$/libs/zxing_barcode.jar!/" />
-    <libelement value="jar://$MODULE_DIR$/libs/androwrapee-1.1.0.jar!/" />
-    <conelement value="com.android.ide.eclipse.adt.DEPENDENCIES" />
-    <src_description expected_position="5">
-      <src_folder value="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK" expected_position="0" />
-      <src_folder value="com.android.ide.eclipse.adt.LIBRARIES" expected_position="1" />
-      <src_folder value="file://$MODULE_DIR$/src" expected_position="6" />
-      <src_folder value="file://$MODULE_DIR$/gen" expected_position="7" />
-    </src_description>
-  </component>
-  <component name="FacetManager">
-    <facet type="android" name="Android">
-      <configuration>
-        <option name="UPDATE_PROPERTY_FILES" value="true" />
-      </configuration>
-    </facet>
-  </component>
-  <component name="NewModuleRootManager" inherit-compiler-output="false">
-    <output url="file://$MODULE_DIR$/bin/classes" />
-    <exclude-output />
-    <content url="file://$MODULE_DIR$">
-      <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
-      <sourceFolder url="file://$MODULE_DIR$/gen" isTestSource="false" generated="true" />
-    </content>
-    <orderEntry type="jdk" jdkName="Android 4.4 Platform" jdkType="Android SDK" />
-    <orderEntry type="module-library">
-      <library name="android-support-v4.jar">
-        <CLASSES>
-          <root url="jar://$MODULE_DIR$/libs/android-support-v4.jar!/" />
-        </CLASSES>
-        <JAVADOC>
-          <root url="file://E:/tools/adt-bundle-windows-x86_64-20130917/sdk/extras/android/support/v4/docs" />
-        </JAVADOC>
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="org.opensrf2_serialized_reg.jar">
-        <CLASSES>
-          <root url="jar://$MODULE_DIR$/libs/org.opensrf2_serialized_reg.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="zxing_barcode.jar">
-        <CLASSES>
-          <root url="jar://$MODULE_DIR$/libs/zxing_barcode.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="androwrapee-1.1.0.jar">
-        <CLASSES>
-          <root url="jar://$MODULE_DIR$/libs/androwrapee-1.1.0.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="sourceFolder" forTests="false" />
-  </component>
-</module>
-
diff --git a/Open-ILS/src/Android/core/EvergreenCore.iml b/Open-ILS/src/Android/core/EvergreenCore.iml
new file mode 100644 (file)
index 0000000..da3c168
--- /dev/null
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module type="JAVA_MODULE" version="4">
+  <component name="EclipseModuleManager" forced_jdk="true">
+    <libelement value="jar://$MODULE_DIR$/libs/android-support-v4.jar!/" />
+    <libelement value="jar://$MODULE_DIR$/libs/org.opensrf2_serialized_reg.jar!/" />
+    <libelement value="jar://$MODULE_DIR$/libs/zxing_barcode.jar!/" />
+    <libelement value="jar://$MODULE_DIR$/libs/androwrapee-1.1.0.jar!/" />
+    <conelement value="com.android.ide.eclipse.adt.DEPENDENCIES" />
+    <src_description expected_position="5">
+      <src_folder value="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK" expected_position="0" />
+      <src_folder value="com.android.ide.eclipse.adt.LIBRARIES" expected_position="1" />
+      <src_folder value="file://$MODULE_DIR$/src" expected_position="6" />
+      <src_folder value="file://$MODULE_DIR$/gen" expected_position="7" />
+    </src_description>
+  </component>
+  <component name="FacetManager">
+    <facet type="android" name="Android">
+      <configuration>
+        <option name="LIBRARY_PROJECT" value="true" />
+        <option name="UPDATE_PROPERTY_FILES" value="true" />
+      </configuration>
+    </facet>
+  </component>
+  <component name="NewModuleRootManager" inherit-compiler-output="false">
+    <output url="file://$MODULE_DIR$/bin/classes" />
+    <exclude-output />
+    <content url="file://$MODULE_DIR$">
+      <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
+      <sourceFolder url="file://$MODULE_DIR$/gen" isTestSource="false" generated="true" />
+    </content>
+    <orderEntry type="jdk" jdkName="Android 4.4 Platform" jdkType="Android SDK" />
+    <orderEntry type="module-library" exported="">
+      <library name="android-support-v4.jar">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/libs/android-support-v4.jar!/" />
+        </CLASSES>
+        <JAVADOC>
+          <root url="file://E:/tools/adt-bundle-windows-x86_64-20130917/sdk/extras/android/support/v4/docs" />
+        </JAVADOC>
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="org.opensrf2_serialized_reg.jar">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/libs/org.opensrf2_serialized_reg.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="zxing_barcode.jar">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/libs/zxing_barcode.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="androwrapee-1.1.0.jar">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/libs/androwrapee-1.1.0.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="sourceFolder" forTests="false" />
+  </component>
+</module>
+
diff --git a/Open-ILS/src/Android/core/core.iml b/Open-ILS/src/Android/core/core.iml
new file mode 100644 (file)
index 0000000..1253951
--- /dev/null
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module type="JAVA_MODULE" version="4">
+  <component name="FacetManager">
+    <facet type="android" name="Android">
+      <configuration>
+        <option name="LIBRARY_PROJECT" value="true" />
+      </configuration>
+    </facet>
+  </component>
+  <component name="NewModuleRootManager" inherit-compiler-output="true">
+    <exclude-output />
+    <content url="file://$MODULE_DIR$">
+      <sourceFolder url="file://$MODULE_DIR$/gen" isTestSource="false" generated="true" />
+      <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
+    </content>
+    <orderEntry type="jdk" jdkName="Android 4.4 Platform" jdkType="Android SDK" />
+    <orderEntry type="sourceFolder" forTests="false" />
+    <orderEntry type="library" name="libs" level="project" />
+  </component>
+</module>
+
index fb2466a..8e4bc5f 100644 (file)
@@ -9,4 +9,4 @@
 
 # Project target.
 target=android-19
-android.library=false
+android.library=true
diff --git a/Open-ILS/src/Android/core/res/values-sw600dp/dimens.xml b/Open-ILS/src/Android/core/res/values-sw600dp/dimens.xml
new file mode 100644 (file)
index 0000000..44f01db
--- /dev/null
@@ -0,0 +1,8 @@
+<resources>
+
+    <!--
+         Customize dimensions originally defined in res/values/dimens.xml (such as
+         screen margins) for sw600dp devices (e.g. 7" tablets) here.
+    -->
+
+</resources>
diff --git a/Open-ILS/src/Android/core/res/values-sw720dp-land/dimens.xml b/Open-ILS/src/Android/core/res/values-sw720dp-land/dimens.xml
new file mode 100644 (file)
index 0000000..61e3fa8
--- /dev/null
@@ -0,0 +1,9 @@
+<resources>
+
+    <!--
+         Customize dimensions originally defined in res/values/dimens.xml (such as
+         screen margins) for sw720dp devices (e.g. 10" tablets) in landscape here.
+    -->
+    <dimen name="activity_horizontal_margin">128dp</dimen>
+
+</resources>
index 8981f64..a594c27 100755 (executable)
@@ -56,50 +56,45 @@ public final class CaptureActivityHandler extends Handler {
   }
   @Override
   public void handleMessage(Message message) {
-    switch (message.what) {
-      case R.id.auto_focus:
-        //Log.d(TAG, "Got auto-focus message");
-        // When one auto focus pass finishes, start another. This is the closest thing to
-         
-       
-        break;
-      case R.id.decode_succeeded:
-        Log.d(TAG, "Got decode succeeded message");
-        state = State.SUCCESS;
-        
-        
-        Bundle bundle = message.getData();
-        Bitmap barcode = bundle == null ? null :
-            (Bitmap) bundle.getParcelable(DecodeThread.BARCODE_BITMAP);
-        
-        activity.handleDecode((Result) message.obj, barcode);
-
-        break;
-      case R.id.restart_preview:
-       restartPreviewAndDecode();  
-         
-         break;
-         
-      case R.id.decode_failed:
-        // We're decoding as fast as possible, so when one decode fails, start another.
-        state = State.PREVIEW;
-        cameraManager.requestPreviewFrame(decodeThread.getHandler(), R.id.decode);
-        activity.removePoints();
-        
-        break;
-      case R.id.return_scan_result:
-        Log.d(TAG, "Got return scan result message");
-        activity.setResult(Activity.RESULT_OK, (Intent) message.obj);
-        activity.finish();
-        break;
-      case R.id.launch_product_query:
-        Log.d(TAG, "Got product query message");
-        String url = (String) message.obj;
-        Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
-        intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET);
-        activity.startActivity(intent);
-        break;
-    }
+      if (message.what == R.id.auto_focus) {//Log.d(TAG, "Got auto-focus message");
+          // When one auto focus pass finishes, start another. This is the closest thing to
+
+
+      } else if (message.what == R.id.decode_succeeded) {
+          Log.d(TAG, "Got decode succeeded message");
+          state = State.SUCCESS;
+
+
+          Bundle bundle = message.getData();
+          Bitmap barcode = bundle == null ? null :
+                  (Bitmap) bundle.getParcelable(DecodeThread.BARCODE_BITMAP);
+
+          activity.handleDecode((Result) message.obj, barcode);
+
+
+      } else if (message.what == R.id.restart_preview) {
+          restartPreviewAndDecode();
+
+
+      } else if (message.what == R.id.decode_failed) {// We're decoding as fast as possible, so when one decode fails, start another.
+          state = State.PREVIEW;
+          cameraManager.requestPreviewFrame(decodeThread.getHandler(), R.id.decode);
+          activity.removePoints();
+
+
+      } else if (message.what == R.id.return_scan_result) {
+          Log.d(TAG, "Got return scan result message");
+          activity.setResult(Activity.RESULT_OK, (Intent) message.obj);
+          activity.finish();
+
+      } else if (message.what == R.id.launch_product_query) {
+          Log.d(TAG, "Got product query message");
+          String url = (String) message.obj;
+          Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
+          intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET);
+          activity.startActivity(intent);
+
+      }
   }
 
   public void quitSynchronously() {
index 8063700..9c49472 100755 (executable)
@@ -63,16 +63,14 @@ final class DecodeHandler extends Handler {
       return;
       //if thread is not running do nothing
     }
-    switch (message.what) {
-      case R.id.decode:
-        decode((byte[]) message.obj, message.arg1, message.arg2);
-        break;
-      case R.id.quit:
-       //quit, set running false  
-        running = false;
-        Looper.myLooper().quit();
-        break;
-    }
+      if (message.what == R.id.decode) {
+          decode((byte[]) message.obj, message.arg1, message.arg2);
+
+      } else if (message.what == R.id.quit) {//quit, set running false
+          running = false;
+          Looper.myLooper().quit();
+
+      }
   }
 
   
index 5fda8e6..72c5f84 100644 (file)
@@ -44,20 +44,18 @@ public abstract class BaseSampleActivity extends FragmentActivity {
 
     @Override
     public boolean onOptionsItemSelected(MenuItem item) {
-        switch (item.getItemId()) {
-        case R.id.random:
+        int i = item.getItemId();
+        if (i == R.id.random) {
             final int page = RANDOM.nextInt(mAdapter.getCount());
             Toast.makeText(this, "Changing to page " + page, Toast.LENGTH_SHORT);
             mPager.setCurrentItem(page);
             return true;
-
-        case R.id.add_page:
+        } else if (i == R.id.add_page) {
             if (mAdapter.getCount() < 10) {
                 mIndicator.notifyDataSetChanged();
             }
             return true;
-
-        case R.id.remove_page:
+        } else if (i == R.id.remove_page) {
             if (mAdapter.getCount() > 1) {
                 mIndicator.notifyDataSetChanged();
             }
index 9d98f5f..723951c 100644 (file)
@@ -158,26 +158,21 @@ public class AccountScreenDashboard extends Activity {
 
     public void onClickFeature(View v) {
         int id = v.getId();
-        switch (id) {
-
-        case R.id.account_btn_check_out:
+        if (id == R.id.account_btn_check_out) {
             startActivity(new Intent(getApplicationContext(),
                     ItemsCheckOutListView.class));
-            break;
-        case R.id.account_btn_holds:
+
+        } else if (id == R.id.account_btn_holds) {
             startActivity(new Intent(getApplicationContext(),
                     HoldsListView.class));
-            break;
-        case R.id.account_btn_fines:
+
+        } else if (id == R.id.account_btn_fines) {
             startActivity(new Intent(getApplicationContext(),
                     FinesActivity.class));
-            break;
-        case R.id.account_btn_book_bags:
+
+        } else if (id == R.id.account_btn_book_bags) {
             startActivity(new Intent(getApplicationContext(),
                     BookbagsListView.class));
-            break;
-        default:
-            break;
 
         }
 
diff --git a/Open-ILS/src/Android/cwmars_app/.gitignore b/Open-ILS/src/Android/cwmars_app/.gitignore
new file mode 100644 (file)
index 0000000..9d93ab6
--- /dev/null
@@ -0,0 +1,9 @@
+*.class
+*.dex
+.idea/workspace.xml
+.idea/tasks.xml
+bin/
+gen/
+.settings
+local.properties
+proguard-project.txt
diff --git a/Open-ILS/src/Android/cwmars_app/.idea/.name b/Open-ILS/src/Android/cwmars_app/.idea/.name
new file mode 100644 (file)
index 0000000..eb09bdf
--- /dev/null
@@ -0,0 +1 @@
+cwmars
\ No newline at end of file
diff --git a/Open-ILS/src/Android/cwmars_app/.idea/compiler.xml b/Open-ILS/src/Android/cwmars_app/.idea/compiler.xml
new file mode 100644 (file)
index 0000000..217af47
--- /dev/null
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="CompilerConfiguration">
+    <option name="DEFAULT_COMPILER" value="Javac" />
+    <resourceExtensions />
+    <wildcardResourcePatterns>
+      <entry name="!?*.java" />
+      <entry name="!?*.form" />
+      <entry name="!?*.class" />
+      <entry name="!?*.groovy" />
+      <entry name="!?*.scala" />
+      <entry name="!?*.flex" />
+      <entry name="!?*.kt" />
+      <entry name="!?*.clj" />
+    </wildcardResourcePatterns>
+    <annotationProcessing>
+      <profile default="true" name="Default" enabled="false">
+        <processorPath useClasspath="true" />
+      </profile>
+    </annotationProcessing>
+  </component>
+</project>
+
diff --git a/Open-ILS/src/Android/cwmars_app/.idea/copyright/profiles_settings.xml b/Open-ILS/src/Android/cwmars_app/.idea/copyright/profiles_settings.xml
new file mode 100644 (file)
index 0000000..3572571
--- /dev/null
@@ -0,0 +1,5 @@
+<component name="CopyrightManager">
+  <settings default="">
+    <module2copyright />
+  </settings>
+</component>
\ No newline at end of file
diff --git a/Open-ILS/src/Android/cwmars_app/.idea/encodings.xml b/Open-ILS/src/Android/cwmars_app/.idea/encodings.xml
new file mode 100644 (file)
index 0000000..e206d70
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false" />
+</project>
+
diff --git a/Open-ILS/src/Android/cwmars_app/.idea/libraries/dexedLibs.xml b/Open-ILS/src/Android/cwmars_app/.idea/libraries/dexedLibs.xml
new file mode 100644 (file)
index 0000000..b2d809d
--- /dev/null
@@ -0,0 +1,12 @@
+<component name="libraryTable">
+  <library name="dexedLibs">
+    <CLASSES>
+      <root url="jar://$PROJECT_DIR$/../core/bin/dexedLibs/androwrapee-1.1.0-e1a06f0b15feb57f60fc050388c60c69.jar!/" />
+      <root url="jar://$PROJECT_DIR$/../core/bin/dexedLibs/org.opensrf2_serialized_reg-5dba35be916c7a72e45ee4bb4a6478a8.jar!/" />
+      <root url="jar://$PROJECT_DIR$/../core/bin/dexedLibs/android-support-v4-feb471f0a1a2b5a42f64c700a1551d08.jar!/" />
+      <root url="jar://$PROJECT_DIR$/../core/bin/dexedLibs/zxing_barcode-7de1bcf4a56bfb1068e055d26c0a58d6.jar!/" />
+    </CLASSES>
+    <JAVADOC />
+    <SOURCES />
+  </library>
+</component>
\ No newline at end of file
diff --git a/Open-ILS/src/Android/cwmars_app/.idea/libraries/libs.xml b/Open-ILS/src/Android/cwmars_app/.idea/libraries/libs.xml
new file mode 100644 (file)
index 0000000..26f91dc
--- /dev/null
@@ -0,0 +1,12 @@
+<component name="libraryTable">
+  <library name="libs">
+    <CLASSES>
+      <root url="jar://$PROJECT_DIR$/../core/libs/org.opensrf2_serialized_reg.jar!/" />
+      <root url="jar://$PROJECT_DIR$/../core/libs/zxing_barcode.jar!/" />
+      <root url="jar://$PROJECT_DIR$/../core/libs/androwrapee-1.1.0.jar!/" />
+      <root url="jar://$PROJECT_DIR$/../core/libs/android-support-v4.jar!/" />
+    </CLASSES>
+    <JAVADOC />
+    <SOURCES />
+  </library>
+</component>
\ No newline at end of file
diff --git a/Open-ILS/src/Android/cwmars_app/.idea/misc.xml b/Open-ILS/src/Android/cwmars_app/.idea/misc.xml
new file mode 100644 (file)
index 0000000..4742f8a
--- /dev/null
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="EntryPointsManager">
+    <entry_points version="2.0" />
+  </component>
+  <component name="ProjectRootManager" version="2" languageLevel="JDK_1_6" assert-keyword="true" jdk-15="true" project-jdk-name="Android 4.4 Platform" project-jdk-type="Android SDK">
+    <output url="file://$PROJECT_DIR$/out" />
+  </component>
+</project>
+
diff --git a/Open-ILS/src/Android/cwmars_app/.idea/modules.xml b/Open-ILS/src/Android/cwmars_app/.idea/modules.xml
new file mode 100644 (file)
index 0000000..6e7bbd4
--- /dev/null
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="ProjectModuleManager">
+    <modules>
+      <module fileurl="file://$PROJECT_DIR$/../core/core.iml" filepath="$PROJECT_DIR$/../core/core.iml" />
+      <module fileurl="file://$PROJECT_DIR$/cwmars.iml" filepath="$PROJECT_DIR$/cwmars.iml" />
+    </modules>
+  </component>
+</project>
+
diff --git a/Open-ILS/src/Android/cwmars_app/.idea/scopes/scope_settings.xml b/Open-ILS/src/Android/cwmars_app/.idea/scopes/scope_settings.xml
new file mode 100644 (file)
index 0000000..922003b
--- /dev/null
@@ -0,0 +1,5 @@
+<component name="DependencyValidationManager">
+  <state>
+    <option name="SKIP_IMPORT_STATEMENTS" value="false" />
+  </state>
+</component>
\ No newline at end of file
diff --git a/Open-ILS/src/Android/cwmars_app/.idea/uiDesigner.xml b/Open-ILS/src/Android/cwmars_app/.idea/uiDesigner.xml
new file mode 100644 (file)
index 0000000..3b00020
--- /dev/null
@@ -0,0 +1,125 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="Palette2">
+    <group name="Swing">
+      <item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
+        <default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" />
+      </item>
+      <item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
+        <default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" />
+      </item>
+      <item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false" auto-create-binding="false" can-attach-label="false">
+        <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" />
+      </item>
+      <item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false" auto-create-binding="false" can-attach-label="true">
+        <default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" />
+      </item>
+      <item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false" auto-create-binding="true" can-attach-label="false">
+        <default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" />
+        <initial-values>
+          <property name="text" value="Button" />
+        </initial-values>
+      </item>
+      <item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false" auto-create-binding="true" can-attach-label="false">
+        <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
+        <initial-values>
+          <property name="text" value="RadioButton" />
+        </initial-values>
+      </item>
+      <item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false" auto-create-binding="true" can-attach-label="false">
+        <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
+        <initial-values>
+          <property name="text" value="CheckBox" />
+        </initial-values>
+      </item>
+      <item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false" auto-create-binding="false" can-attach-label="false">
+        <default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" />
+        <initial-values>
+          <property name="text" value="Label" />
+        </initial-values>
+      </item>
+      <item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false" auto-create-binding="true" can-attach-label="true">
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
+          <preferred-size width="150" height="-1" />
+        </default-constraints>
+      </item>
+      <item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false" auto-create-binding="true" can-attach-label="true">
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
+          <preferred-size width="150" height="-1" />
+        </default-constraints>
+      </item>
+      <item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false" auto-create-binding="true" can-attach-label="true">
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
+          <preferred-size width="150" height="-1" />
+        </default-constraints>
+      </item>
+      <item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false" auto-create-binding="true" can-attach-label="true">
+        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
+          <preferred-size width="150" height="50" />
+        </default-constraints>
+      </item>
+      <item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
+        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
+          <preferred-size width="150" height="50" />
+        </default-constraints>
+      </item>
+      <item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
+        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
+          <preferred-size width="150" height="50" />
+        </default-constraints>
+      </item>
+      <item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false" auto-create-binding="true" can-attach-label="true">
+        <default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" />
+      </item>
+      <item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false" auto-create-binding="true" can-attach-label="false">
+        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
+          <preferred-size width="150" height="50" />
+        </default-constraints>
+      </item>
+      <item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false" auto-create-binding="true" can-attach-label="false">
+        <default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3">
+          <preferred-size width="150" height="50" />
+        </default-constraints>
+      </item>
+      <item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false" auto-create-binding="true" can-attach-label="false">
+        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
+          <preferred-size width="150" height="50" />
+        </default-constraints>
+      </item>
+      <item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false" auto-create-binding="true" can-attach-label="false">
+        <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
+          <preferred-size width="200" height="200" />
+        </default-constraints>
+      </item>
+      <item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false" auto-create-binding="false" can-attach-label="false">
+        <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
+          <preferred-size width="200" height="200" />
+        </default-constraints>
+      </item>
+      <item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false" auto-create-binding="true" can-attach-label="true">
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
+      </item>
+      <item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false" auto-create-binding="true" can-attach-label="false">
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
+      </item>
+      <item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.png" removable="false" auto-create-binding="false" can-attach-label="false">
+        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" />
+      </item>
+      <item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" />
+      </item>
+      <item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.png" removable="false" auto-create-binding="false" can-attach-label="false">
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1">
+          <preferred-size width="-1" height="20" />
+        </default-constraints>
+      </item>
+      <item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.png" removable="false" auto-create-binding="false" can-attach-label="false">
+        <default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" />
+      </item>
+      <item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
+        <default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" />
+      </item>
+    </group>
+  </component>
+</project>
+
diff --git a/Open-ILS/src/Android/cwmars_app/.idea/vcs.xml b/Open-ILS/src/Android/cwmars_app/.idea/vcs.xml
new file mode 100644 (file)
index 0000000..def6a6a
--- /dev/null
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="VcsDirectoryMappings">
+    <mapping directory="" vcs="" />
+  </component>
+</project>
+
diff --git a/Open-ILS/src/Android/cwmars_app/AndroidManifest.xml b/Open-ILS/src/Android/cwmars_app/AndroidManifest.xml
new file mode 100644 (file)
index 0000000..e325857
--- /dev/null
@@ -0,0 +1,132 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+          package="org.cwmars"
+          android:installLocation="auto"
+          android:versionCode="1"
+          android:versionName="1.0">
+
+    <uses-sdk
+        android:minSdkVersion="8"
+        android:targetSdkVersion="18" />
+
+    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
+    <uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" />
+    <uses-permission android:name="android.permission.CAMERA" />
+    <uses-permission android:name="android.permission.FLASHLIGHT" />
+    <uses-permission android:name="android.permission.GET_ACCOUNTS" />
+    <uses-permission android:name="android.permission.INTERNET" />
+    <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
+    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
+    <uses-permission android:name="android.permission.USE_CREDENTIALS" />
+    <uses-permission android:name="android.permission.VIBRATE" />
+    <uses-permission android:name="android.permission.WAKE_LOCK" />
+
+    <uses-feature android:name="android.hardware.camera" />
+    <uses-feature android:name="android.hardware.camera.autofocus" />
+
+    <application
+        android:allowBackup="true"
+        android:icon="@drawable/evergreen_launcher_icon"
+        android:label="@string/ou_app_name"
+        android:theme="@style/EvergreenTheme" >
+
+        <!-- Notification receiver -->
+        <receiver
+            android:name="org.evergreen.android.services.NotificationReceiver"
+            android:process=":remote" >
+        </receiver>
+        <!-- Receiver to reinit notifications on reboot -->
+        <receiver android:name="org.evergreen.android.services.RebootReceiver" >
+            <intent-filter>
+                <action android:name="android.intent.action.BOOT_COMPLETED" />
+            </intent-filter>
+        </receiver>
+        <receiver android:name="org.evergreen.android.services.PeriodicServiceBroadcastReceiver" >
+            <intent-filter>
+                <action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
+            </intent-filter>
+        </receiver>
+
+        <service android:name="org.evergreen.android.services.ScheduledIntentService" >
+        </service>
+
+        <activity
+            android:name="org.evergreen.android.views.splashscreen.SplashActivity"
+            android:label="@string/ou_app_label">
+            <!--  android:theme="@android:style/Theme.Light.NoTitleBar"  -->
+            <intent-filter>
+                <action android:name="android.intent.action.MAIN" />
+
+                <category android:name="android.intent.category.LAUNCHER" />
+            </intent-filter>
+        </activity>
+        <activity
+            android:name="org.evergreen.android.views.AccountScreenDashboard"
+            android:theme="@android:style/Theme.Light.NoTitleBar" >
+        </activity>
+        <activity android:name="org.evergreen.android.views.ApplicationPreferences" >
+        </activity>
+
+        <!-- Search -->
+
+        <activity
+            android:name="org.evergreen.android.searchCatalog.SampleUnderlinesNoFade"
+            android:label="Underlines/No Fade" >
+        </activity>
+        <activity android:name="org.evergreen.android.searchCatalog.MoreCopyInformation" >
+        </activity>
+        <activity
+            android:name="org.evergreen.android.searchCatalog.SearchCatalogListView"
+            android:label="@string/ou_app_label" >
+        </activity>
+        <activity android:name="org.evergreen.android.searchCatalog.AdvancedSearchActivity" >
+        </activity>
+        <activity
+            android:name="org.evergreen.android.barcodescan.CaptureActivity"
+            android:label="@string/ou_app_label"
+            android:screenOrientation="landscape"
+            android:theme="@android:style/Theme.NoTitleBar"
+            android:windowSoftInputMode="stateAlwaysHidden" >
+        </activity>
+
+        <!-- Checkout Activities -->
+        <activity android:name="org.evergreen.android.accountAccess.checkout.ItemsCheckOutListView" >
+        </activity>
+
+        <!-- Holds Activities -->
+        <activity android:name="org.evergreen.android.accountAccess.holds.HoldsListView" >
+        </activity>
+        <activity android:name="org.evergreen.android.accountAccess.holds.PlaceHold" >
+        </activity>
+        <activity android:name="org.evergreen.android.accountAccess.holds.HoldDetails" >
+        </activity>
+
+        <!-- Fines Activities -->
+        <activity android:name="org.evergreen.android.accountAccess.fines.FinesActivity" >
+        </activity>
+
+        <!-- Bookbags -->
+        <activity android:name="org.evergreen.android.accountAccess.bookbags.BookbagsListView" >
+        </activity>
+        <activity android:name="org.evergreen.android.accountAccess.bookbags.BookBagDetails" >
+        </activity>
+
+        <activity
+            android:name="org.evergreen_ils.auth.AuthenticatorActivity"
+            android:label="@string/ou_account_label"
+            android:theme="@android:style/Theme.Light" >
+        </activity>
+
+        <service
+            android:name="org.evergreen_ils.auth.AuthenticatorService"
+            android:exported="false" >
+            <intent-filter>
+                <action android:name="android.accounts.AccountAuthenticator" />
+            </intent-filter>
+
+            <meta-data
+                android:name="android.accounts.AccountAuthenticator"
+                android:resource="@xml/authenticator" />
+        </service>
+    </application>
+</manifest>
diff --git a/Open-ILS/src/Android/cwmars_app/ant.properties b/Open-ILS/src/Android/cwmars_app/ant.properties
new file mode 100644 (file)
index 0000000..b0971e8
--- /dev/null
@@ -0,0 +1,17 @@
+# This file is used to override default values used by the Ant build system.
+#
+# This file must be checked into Version Control Systems, as it is
+# integral to the build system of your project.
+
+# This file is only used by the Ant script.
+
+# You can use this to override default values such as
+#  'source.dir' for the location of your java source folder and
+#  'out.dir' for the location of your output folder.
+
+# You can also use it define how the release builds are signed by declaring
+# the following properties:
+#  'key.store' for the location of your keystore and
+#  'key.alias' for the name of the key to use.
+# The password will be asked during the build when you use the 'release' target.
+
diff --git a/Open-ILS/src/Android/cwmars_app/build.xml b/Open-ILS/src/Android/cwmars_app/build.xml
new file mode 100644 (file)
index 0000000..730f317
--- /dev/null
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="cwmars" default="help">
+
+    <!-- The local.properties file is created and updated by the 'android' tool.
+         It contains the path to the SDK. It should *NOT* be checked into
+         Version Control Systems. -->
+    <property file="local.properties"/>
+
+    <!-- The ant.properties file can be created by you. It is only edited by the
+         'android' tool to add properties to it.
+         This is the place to change some Ant specific build properties.
+         Here are some properties you may want to change/update:
+
+         source.dir
+             The name of the source directory. Default is 'src'.
+         out.dir
+             The name of the output directory. Default is 'bin'.
+
+         For other overridable properties, look at the beginning of the rules
+         files in the SDK, at tools/ant/build.xml
+
+         Properties related to the SDK location or the project target should
+         be updated using the 'android' tool with the 'update' action.
+
+         This file is an integral part of the build system for your
+         application and should be checked into Version Control Systems.
+
+         -->
+    <property file="ant.properties"/>
+
+    <!-- if sdk.dir was not set from one of the property file, then
+         get it from the ANDROID_HOME env var.
+         This must be done before we load project.properties since
+         the proguard config can use sdk.dir -->
+    <property environment="env"/>
+    <condition property="sdk.dir" value="${env.ANDROID_HOME}">
+        <isset property="env.ANDROID_HOME"/>
+    </condition>
+
+    <!-- The project.properties file is created and updated by the 'android'
+         tool, as well as ADT.
+
+         This contains project specific properties such as project target, and library
+         dependencies. Lower level build properties are stored in ant.properties
+         (or in .classpath for Eclipse projects).
+
+         This file is an integral part of the build system for your
+         application and should be checked into Version Control Systems. -->
+    <loadproperties srcFile="project.properties"/>
+
+    <!-- quick check on sdk.dir -->
+    <fail
+            message="sdk.dir is missing. Make sure to generate local.properties using 'android update project' or to inject it through the ANDROID_HOME environment variable."
+            unless="sdk.dir"
+            />
+
+    <!--
+        Import per project custom build rules if present at the root of the project.
+        This is the place to put custom intermediary targets such as:
+            -pre-build
+            -pre-compile
+            -post-compile (This is typically used for code obfuscation.
+                           Compiled code location: ${out.classes.absolute.dir}
+                           If this is not done in place, override ${out.dex.input.absolute.dir})
+            -post-package
+            -post-build
+            -pre-clean
+    -->
+    <import file="custom_rules.xml" optional="true"/>
+
+    <!-- Import the actual build file.
+
+         To customize existing targets, there are two options:
+         - Customize only one target:
+             - copy/paste the target into this file, *before* the
+               <import> task.
+             - customize it to your needs.
+         - Customize the whole content of build.xml
+             - copy/paste the content of the rules files (minus the top node)
+               into this file, replacing the <import> task.
+             - customize to your needs.
+
+         ***********************
+         ****** IMPORTANT ******
+         ***********************
+         In all cases you must update the value of version-tag below to read 'custom' instead of an integer,
+         in order to avoid having your file be overridden by tools such as "android update project"
+    -->
+    <!-- version-tag: 1 -->
+    <import file="${sdk.dir}/tools/ant/build.xml"/>
+
+</project>
diff --git a/Open-ILS/src/Android/cwmars_app/cwmars.iml b/Open-ILS/src/Android/cwmars_app/cwmars.iml
new file mode 100644 (file)
index 0000000..b366ef5
--- /dev/null
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module type="JAVA_MODULE" version="4">
+  <component name="FacetManager">
+    <facet type="android" name="Android">
+      <configuration>
+        <option name="UPDATE_PROPERTY_FILES" value="true" />
+      </configuration>
+    </facet>
+  </component>
+  <component name="NewModuleRootManager" inherit-compiler-output="true">
+    <exclude-output />
+    <content url="file://$MODULE_DIR$">
+      <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
+      <sourceFolder url="file://$MODULE_DIR$/gen" isTestSource="false" generated="true" />
+    </content>
+    <orderEntry type="inheritedJdk" />
+    <orderEntry type="sourceFolder" forTests="false" />
+    <orderEntry type="module" module-name="core" />
+  </component>
+</module>
+
diff --git a/Open-ILS/src/Android/cwmars_app/out/production/cwmars/cwmars.apk b/Open-ILS/src/Android/cwmars_app/out/production/cwmars/cwmars.apk
new file mode 100644 (file)
index 0000000..03f5bd3
Binary files /dev/null and b/Open-ILS/src/Android/cwmars_app/out/production/cwmars/cwmars.apk differ
diff --git a/Open-ILS/src/Android/cwmars_app/out/production/cwmars/cwmars.unaligned.apk b/Open-ILS/src/Android/cwmars_app/out/production/cwmars/cwmars.unaligned.apk
new file mode 100644 (file)
index 0000000..2197c7e
Binary files /dev/null and b/Open-ILS/src/Android/cwmars_app/out/production/cwmars/cwmars.unaligned.apk differ
diff --git a/Open-ILS/src/Android/cwmars_app/project.properties b/Open-ILS/src/Android/cwmars_app/project.properties
new file mode 100644 (file)
index 0000000..99b4254
--- /dev/null
@@ -0,0 +1,15 @@
+# This file is automatically generated by Android Tools.
+# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
+#
+# This file must be checked in Version Control Systems.
+#
+# To customize properties used by the Ant build system edit
+# "ant.properties", and override values to adapt the script to your
+# project structure.
+#
+# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
+#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
+
+# Project target.
+target=android-19
+android.library.reference.1=../core
diff --git a/Open-ILS/src/Android/cwmars_app/res/drawable-hdpi/ic_launcher.png b/Open-ILS/src/Android/cwmars_app/res/drawable-hdpi/ic_launcher.png
new file mode 100644 (file)
index 0000000..96a442e
Binary files /dev/null and b/Open-ILS/src/Android/cwmars_app/res/drawable-hdpi/ic_launcher.png differ
diff --git a/Open-ILS/src/Android/cwmars_app/res/drawable-ldpi/ic_launcher.png b/Open-ILS/src/Android/cwmars_app/res/drawable-ldpi/ic_launcher.png
new file mode 100644 (file)
index 0000000..9923872
Binary files /dev/null and b/Open-ILS/src/Android/cwmars_app/res/drawable-ldpi/ic_launcher.png differ
diff --git a/Open-ILS/src/Android/cwmars_app/res/drawable-mdpi/ic_launcher.png b/Open-ILS/src/Android/cwmars_app/res/drawable-mdpi/ic_launcher.png
new file mode 100644 (file)
index 0000000..359047d
Binary files /dev/null and b/Open-ILS/src/Android/cwmars_app/res/drawable-mdpi/ic_launcher.png differ
diff --git a/Open-ILS/src/Android/cwmars_app/res/drawable-xhdpi/ic_launcher.png b/Open-ILS/src/Android/cwmars_app/res/drawable-xhdpi/ic_launcher.png
new file mode 100644 (file)
index 0000000..71c6d76
Binary files /dev/null and b/Open-ILS/src/Android/cwmars_app/res/drawable-xhdpi/ic_launcher.png differ
diff --git a/Open-ILS/src/Android/cwmars_app/res/values/ou.xml b/Open-ILS/src/Android/cwmars_app/res/values/ou.xml
new file mode 100644 (file)
index 0000000..9b5b79f
--- /dev/null
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- ou_cwmars.xml - C/W MARS organizational unit -->
+<resources>
+    <!--  TODO: make URLs HTTPS -->
+    <string name="ou_library_url">http://bark.cwmars.org</string>
+    <string name="ou_app_name">C/W Mars Library</string>
+    <string name="ou_app_label">C/W Mars</string>
+    <string name="ou_app_welcome_label">Welcome</string>
+    <string name="ou_account_label">C/W Mars Library</string>
+    <string name="ou_account_sign_in_message">Sign in to your\nC/W Mars Library Account</string>
+</resources>
diff --git a/Open-ILS/src/Android/cwmars_app/res/values/strings.xml b/Open-ILS/src/Android/cwmars_app/res/values/strings.xml
new file mode 100644 (file)
index 0000000..0c875d9
--- /dev/null
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+    <string name="app_name">cwmars</string>
+</resources>