Adding Hemlock app.
authorkenstir <kenstir@gmail.com>
Sat, 21 Nov 2015 23:49:55 +0000 (18:49 -0500)
committerkenstir <kenstir@gmail.com>
Sat, 21 Nov 2015 23:49:55 +0000 (18:49 -0500)
13 files changed:
Open-ILS/src/Android/eg_app/res/values/ou.xml
Open-ILS/src/Android/hemlock_app/.idea/.name [new file with mode: 0644]
Open-ILS/src/Android/hemlock_app/.idea/compiler.xml [new file with mode: 0644]
Open-ILS/src/Android/hemlock_app/.idea/copyright/profiles_settings.xml [new file with mode: 0644]
Open-ILS/src/Android/hemlock_app/.idea/encodings.xml [new file with mode: 0644]
Open-ILS/src/Android/hemlock_app/.idea/libraries/libs.xml [new file with mode: 0644]
Open-ILS/src/Android/hemlock_app/.idea/misc.xml [new file with mode: 0644]
Open-ILS/src/Android/hemlock_app/.idea/modules.xml [new file with mode: 0644]
Open-ILS/src/Android/hemlock_app/.idea/scopes/scope_settings.xml [new file with mode: 0644]
Open-ILS/src/Android/hemlock_app/.idea/vcs.xml [new file with mode: 0644]
Open-ILS/src/Android/hemlock_app/AndroidManifest.xml [new file with mode: 0644]
Open-ILS/src/Android/hemlock_app/hemlock_app.iml [new file with mode: 0644]
Open-ILS/src/Android/hemlock_app/res/values/ou.xml [new file with mode: 0644]

index 6ee097d..7547640 100644 (file)
@@ -3,7 +3,7 @@
 <resources>
     <!-- see ../core/res/values/ou.xml for a description -->
     <string name="ou_account_label">Evergreen</string>
-    <string name="ou_account_sign_in_message">Sign in to your library account</string>
+    <string name="ou_account_sign_in_message">Sign in to your\nEvergreen library account</string>
     <string name="ou_choose_library_label">Location:</string>
     <string name="ou_sign_in_label">Login:</string>
     <string name="ou_account_type">org.evergreen-ils.eg_app</string>
diff --git a/Open-ILS/src/Android/hemlock_app/.idea/.name b/Open-ILS/src/Android/hemlock_app/.idea/.name
new file mode 100644 (file)
index 0000000..d855b84
--- /dev/null
@@ -0,0 +1 @@
+hemlock_app
\ No newline at end of file
diff --git a/Open-ILS/src/Android/hemlock_app/.idea/compiler.xml b/Open-ILS/src/Android/hemlock_app/.idea/compiler.xml
new file mode 100644 (file)
index 0000000..357fde0
--- /dev/null
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="CompilerConfiguration">
+    <option name="DEFAULT_COMPILER" value="Javac" />
+    <excludeFromCompile>
+      <file url="file://$PROJECT_DIR$/../opensrf/src/org/opensrf/util/Cache.java" />
+      <file url="file://$PROJECT_DIR$/../opensrf/src/org/opensrf/Stack.java" />
+      <file url="file://$PROJECT_DIR$/../opensrf/src/org/opensrf/Session.java" />
+      <file url="file://$PROJECT_DIR$/../opensrf/src/org/opensrf/Sys.java" />
+      <file url="file://$PROJECT_DIR$/../opensrf/src/org/opensrf/Request.java" />
+      <file url="file://$PROJECT_DIR$/../opensrf/src/org/opensrf/ClientSession.java" />
+      <file url="file://$PROJECT_DIR$/../opensrf/src/org/opensrf/MultiSession.java" />
+      <file url="file://$PROJECT_DIR$/../opensrf/src/org/opensrf/ServerSession.java" />
+      <file url="file://$PROJECT_DIR$/../opensrf/src/org/opensrf/util/SettingsClient.java" />
+      <file url="file://$PROJECT_DIR$/../core/src/org/open_ils/util/Utils.java" />
+      <file url="file://$PROJECT_DIR$/../core/src/org/open_ils/Sys.java" />
+      <file url="file://$PROJECT_DIR$/../opensrf/src/org/opensrf/util/XMLFlattener.java" />
+    </excludeFromCompile>
+    <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>
\ No newline at end of file
diff --git a/Open-ILS/src/Android/hemlock_app/.idea/copyright/profiles_settings.xml b/Open-ILS/src/Android/hemlock_app/.idea/copyright/profiles_settings.xml
new file mode 100644 (file)
index 0000000..e7bedf3
--- /dev/null
@@ -0,0 +1,3 @@
+<component name="CopyrightManager">
+  <settings default="" />
+</component>
\ No newline at end of file
diff --git a/Open-ILS/src/Android/hemlock_app/.idea/encodings.xml b/Open-ILS/src/Android/hemlock_app/.idea/encodings.xml
new file mode 100644 (file)
index 0000000..f758959
--- /dev/null
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false">
+    <file url="PROJECT" charset="UTF-8" />
+  </component>
+</project>
\ No newline at end of file
diff --git a/Open-ILS/src/Android/hemlock_app/.idea/libraries/libs.xml b/Open-ILS/src/Android/hemlock_app/.idea/libraries/libs.xml
new file mode 100644 (file)
index 0000000..2c6670d
--- /dev/null
@@ -0,0 +1,11 @@
+<component name="libraryTable">
+  <library name="libs">
+    <CLASSES>
+      <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/opensrf2_android.jar!/" />
+    </CLASSES>
+    <JAVADOC />
+    <SOURCES />
+  </library>
+</component>
\ No newline at end of file
diff --git a/Open-ILS/src/Android/hemlock_app/.idea/misc.xml b/Open-ILS/src/Android/hemlock_app/.idea/misc.xml
new file mode 100644 (file)
index 0000000..4fa8d45
--- /dev/null
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="EntryPointsManager">
+    <entry_points version="2.0" />
+  </component>
+  <component name="NullableNotNullManager">
+    <option name="myDefaultNullable" value="android.support.annotation.Nullable" />
+    <option name="myDefaultNotNull" value="android.support.annotation.NonNull" />
+    <option name="myNullables">
+      <value>
+        <list size="4">
+          <item index="0" class="java.lang.String" itemvalue="org.jetbrains.annotations.Nullable" />
+          <item index="1" class="java.lang.String" itemvalue="javax.annotation.Nullable" />
+          <item index="2" class="java.lang.String" itemvalue="edu.umd.cs.findbugs.annotations.Nullable" />
+          <item index="3" class="java.lang.String" itemvalue="android.support.annotation.Nullable" />
+        </list>
+      </value>
+    </option>
+    <option name="myNotNulls">
+      <value>
+        <list size="4">
+          <item index="0" class="java.lang.String" itemvalue="org.jetbrains.annotations.NotNull" />
+          <item index="1" class="java.lang.String" itemvalue="javax.annotation.Nonnull" />
+          <item index="2" class="java.lang.String" itemvalue="edu.umd.cs.findbugs.annotations.NonNull" />
+          <item index="3" class="java.lang.String" itemvalue="android.support.annotation.NonNull" />
+        </list>
+      </value>
+    </option>
+  </component>
+  <component name="ProjectRootManager" version="2" languageLevel="JDK_1_6" assert-keyword="true" jdk-15="true" project-jdk-name="Android API 19 Platform" project-jdk-type="Android SDK">
+    <output url="file://$PROJECT_DIR$/out" />
+  </component>
+</project>
\ No newline at end of file
diff --git a/Open-ILS/src/Android/hemlock_app/.idea/modules.xml b/Open-ILS/src/Android/hemlock_app/.idea/modules.xml
new file mode 100644 (file)
index 0000000..b57c72c
--- /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$/../support/v7/appcompat/appcompat.iml" filepath="$PROJECT_DIR$/../support/v7/appcompat/appcompat.iml" />
+      <module fileurl="file://$PROJECT_DIR$/../core/core.iml" filepath="$PROJECT_DIR$/../core/core.iml" />
+      <module fileurl="file://$PROJECT_DIR$/hemlock_app.iml" filepath="$PROJECT_DIR$/hemlock_app.iml" />
+    </modules>
+  </component>
+</project>
diff --git a/Open-ILS/src/Android/hemlock_app/.idea/scopes/scope_settings.xml b/Open-ILS/src/Android/hemlock_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/hemlock_app/.idea/vcs.xml b/Open-ILS/src/Android/hemlock_app/.idea/vcs.xml
new file mode 100644 (file)
index 0000000..4fce1d8
--- /dev/null
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="VcsDirectoryMappings">
+    <mapping directory="$PROJECT_DIR$/../../../.." vcs="Git" />
+  </component>
+</project>
\ No newline at end of file
diff --git a/Open-ILS/src/Android/hemlock_app/AndroidManifest.xml b/Open-ILS/src/Android/hemlock_app/AndroidManifest.xml
new file mode 100644 (file)
index 0000000..348b112
--- /dev/null
@@ -0,0 +1,137 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+          package="net.kenstir.apps.hemlock"
+          android:installLocation="auto"
+          android:versionCode="1"
+          android:versionName="1.0">
+
+    <uses-sdk
+        android:minSdkVersion="10"
+        android:targetSdkVersion="19" />
+
+    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
+    <uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" />
+    <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.USE_CREDENTIALS" />
+    <uses-permission android:name="com.android.vending.BILLING" />"
+
+    <uses-feature android:name="android.hardware.screen.landscape" android:required="false" />
+    <uses-feature android:name="android.hardware.screen.portrait" android:required="false" />
+    <uses-feature android:name="android.hardware.touchscreen" android:required="false" />
+    <application
+        android:allowBackup="true"
+        android:icon="@drawable/evergreen_launcher_icon"
+        android:label="@string/ou_app_label"
+        android:theme="@style/Theme.AppCompat" >
+
+        <activity
+                android:name="org.evergreen_ils.views.splashscreen.SplashActivity"
+                android:theme="@android:style/Theme.NoTitleBar">
+            <intent-filter>
+                <action android:name="android.intent.action.MAIN" />
+                <category android:name="android.intent.category.LAUNCHER" />
+            </intent-filter>
+        </activity>
+
+        <!-- Search -->
+
+        <activity
+                android:name="org.evergreen_ils.searchCatalog.SampleUnderlinesNoFade"
+                android:label="@string/search_details_title">
+        </activity>
+        <activity
+                android:name="org.evergreen_ils.searchCatalog.MoreCopyInformation"
+                android:label="@string/copy_information_title">
+        </activity>
+        <activity
+                android:name="org.evergreen_ils.searchCatalog.SearchCatalogListView"
+                android:label="@string/title_search"
+                android:parentActivityName="org.evergreen_ils.views.MainActivity">
+            <meta-data
+                    android:name="android.support.PARENT_ACTIVITY"
+                    android:value="org.evergreen_ils.views.MainActivity"/>
+        </activity>
+        <activity
+                android:name="org.evergreen_ils.searchCatalog.AdvancedSearchActivity"
+                android:label="@string/advanced_search">
+        </activity>
+        <activity
+            android:name="org.evergreen_ils.barcodescan.CaptureActivity"
+            android:screenOrientation="landscape"
+            android:theme="@android:style/Theme.NoTitleBar"
+            android:windowSoftInputMode="stateAlwaysHidden" >
+        </activity>
+
+        <!-- Checkout Activities -->
+        <activity
+                android:name="org.evergreen_ils.accountAccess.checkout.ItemsCheckOutListView"
+                android:label="@string/checkout_items_title"
+                android:parentActivityName="org.evergreen_ils.views.MainActivity">
+            <meta-data
+                    android:name="android.support.PARENT_ACTIVITY"
+                    android:value="org.evergreen_ils.views.MainActivity"/>
+        </activity>
+
+        <!-- Holds Activities -->
+        <activity
+                android:name="org.evergreen_ils.accountAccess.holds.HoldsListView"
+                android:label="@string/hold_items_title"
+                android:parentActivityName="org.evergreen_ils.views.MainActivity">
+            <meta-data
+                    android:name="android.support.PARENT_ACTIVITY"
+                    android:value="org.evergreen_ils.views.MainActivity"/>
+        </activity>
+        <activity
+                android:name="org.evergreen_ils.accountAccess.holds.PlaceHold"
+                android:label="@string/hold_place_title">
+        </activity>
+        <activity
+                android:name="org.evergreen_ils.accountAccess.holds.HoldDetails"
+                android:label="@string/hold_details_title">
+        </activity>
+
+        <!-- Fines Activities -->
+        <activity
+                android:name="org.evergreen_ils.accountAccess.fines.FinesActivity"
+                android:label="@string/title_fines"
+                android:parentActivityName="org.evergreen_ils.views.MainActivity">
+            <meta-data
+                    android:name="android.support.PARENT_ACTIVITY"
+                    android:value="org.evergreen_ils.views.MainActivity"/>
+        </activity>
+
+        <!-- Bookbags -->
+        <activity android:name="org.evergreen_ils.accountAccess.bookbags.BookbagsListView" >
+        </activity>
+        <activity android:name="org.evergreen_ils.accountAccess.bookbags.BookBagDetails" >
+        </activity>
+
+        <activity
+            android:name="org.evergreen_ils.auth.AuthenticatorActivity"
+            android:label="@string/ou_account_label">
+        </activity>
+
+        <activity android:name="org.evergreen_ils.views.MainActivity">
+        </activity>
+
+        <activity android:name="org.evergreen_ils.auth.TestAuthActivity">
+            <intent-filter>
+                <action android:name="android.intent.action.MAIN" />
+            </intent-filter>
+        </activity>
+
+        <service
+            android:name="org.evergreen_ils.auth.AuthenticatorService"
+            android:exported="true" >
+            <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/hemlock_app/hemlock_app.iml b/Open-ILS/src/Android/hemlock_app/hemlock_app.iml
new file mode 100644 (file)
index 0000000..baccb65
--- /dev/null
@@ -0,0 +1,20 @@
+<?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="jdk" jdkName="Android API 19 Platform" jdkType="Android SDK" />
+    <orderEntry type="sourceFolder" forTests="false" />
+    <orderEntry type="module" module-name="core" />
+  </component>
+</module>
\ No newline at end of file
diff --git a/Open-ILS/src/Android/hemlock_app/res/values/ou.xml b/Open-ILS/src/Android/hemlock_app/res/values/ou.xml
new file mode 100644 (file)
index 0000000..8d2a650
--- /dev/null
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- ou.xml - app customization -->
+<resources>
+    <!-- see ../core/res/values/ou.xml for a description -->
+    <string name="ou_account_label">Hemlock</string>
+    <string name="ou_account_sign_in_message">Sign in to your\nEvergreen library account</string>
+    <string name="ou_choose_library_label">Location:</string>
+    <string name="ou_sign_in_label">Login:</string>
+    <string name="ou_account_type">net.kenstir.apps.hemlock</string>
+    <string name="ou_app_label">Hemlock</string>
+    <string name="ou_library_name"></string>
+    <string name="ou_library_url"></string>
+</resources>