diff --git a/nbproject/project.xml b/nbproject/project.xml index 5b75d4f..47057b4 100644 --- a/nbproject/project.xml +++ b/nbproject/project.xml @@ -5,5 +5,8 @@ TerranQuest + + Geocaching + diff --git a/platforms/android/.gradle/2.2.1/taskArtifacts/cache.properties.lock b/platforms/android/.gradle/2.2.1/taskArtifacts/cache.properties.lock index d03a8af..940b293 100644 Binary files a/platforms/android/.gradle/2.2.1/taskArtifacts/cache.properties.lock and b/platforms/android/.gradle/2.2.1/taskArtifacts/cache.properties.lock differ diff --git a/platforms/android/.gradle/2.2.1/taskArtifacts/fileHashes.bin b/platforms/android/.gradle/2.2.1/taskArtifacts/fileHashes.bin index 0966afd..c9a83d8 100644 Binary files a/platforms/android/.gradle/2.2.1/taskArtifacts/fileHashes.bin and b/platforms/android/.gradle/2.2.1/taskArtifacts/fileHashes.bin differ diff --git a/platforms/android/.gradle/2.2.1/taskArtifacts/fileSnapshots.bin b/platforms/android/.gradle/2.2.1/taskArtifacts/fileSnapshots.bin index bd97cad..4d9ab42 100644 Binary files a/platforms/android/.gradle/2.2.1/taskArtifacts/fileSnapshots.bin and b/platforms/android/.gradle/2.2.1/taskArtifacts/fileSnapshots.bin differ diff --git a/platforms/android/.gradle/2.2.1/taskArtifacts/outputFileStates.bin b/platforms/android/.gradle/2.2.1/taskArtifacts/outputFileStates.bin index 4838971..8745fad 100644 Binary files a/platforms/android/.gradle/2.2.1/taskArtifacts/outputFileStates.bin and b/platforms/android/.gradle/2.2.1/taskArtifacts/outputFileStates.bin differ diff --git a/platforms/android/.gradle/2.2.1/taskArtifacts/taskArtifacts.bin b/platforms/android/.gradle/2.2.1/taskArtifacts/taskArtifacts.bin index a34bd4e..6d41466 100644 Binary files a/platforms/android/.gradle/2.2.1/taskArtifacts/taskArtifacts.bin and b/platforms/android/.gradle/2.2.1/taskArtifacts/taskArtifacts.bin differ diff --git a/platforms/android/AndroidManifest.xml b/platforms/android/AndroidManifest.xml index 701d88f..67ce55b 100644 --- a/platforms/android/AndroidManifest.xml +++ b/platforms/android/AndroidManifest.xml @@ -9,19 +9,19 @@ - + - + - + diff --git a/platforms/android/CordovaLib/build/generated/source/buildConfig/release/org/apache/cordova/BuildConfig.java b/platforms/android/CordovaLib/build/generated/source/buildConfig/release/org/apache/cordova/BuildConfig.java new file mode 100644 index 0000000..3e3c0cf --- /dev/null +++ b/platforms/android/CordovaLib/build/generated/source/buildConfig/release/org/apache/cordova/BuildConfig.java @@ -0,0 +1,13 @@ +/** + * Automatically generated file. DO NOT MODIFY + */ +package org.apache.cordova; + +public final class BuildConfig { + public static final boolean DEBUG = false; + public static final String APPLICATION_ID = "org.apache.cordova"; + public static final String BUILD_TYPE = "release"; + public static final String FLAVOR = ""; + public static final int VERSION_CODE = 1; + public static final String VERSION_NAME = "1.0"; +} diff --git a/platforms/android/CordovaLib/build/intermediates/bundles/release/AndroidManifest.xml b/platforms/android/CordovaLib/build/intermediates/bundles/release/AndroidManifest.xml new file mode 100644 index 0000000..90863ed --- /dev/null +++ b/platforms/android/CordovaLib/build/intermediates/bundles/release/AndroidManifest.xml @@ -0,0 +1,27 @@ + + + + + + + \ No newline at end of file diff --git a/platforms/android/CordovaLib/build/intermediates/bundles/release/aapt/AndroidManifest.xml b/platforms/android/CordovaLib/build/intermediates/bundles/release/aapt/AndroidManifest.xml new file mode 100644 index 0000000..90863ed --- /dev/null +++ b/platforms/android/CordovaLib/build/intermediates/bundles/release/aapt/AndroidManifest.xml @@ -0,0 +1,27 @@ + + + + + + + \ No newline at end of file diff --git a/platforms/android/CordovaLib/build/intermediates/bundles/release/classes.jar b/platforms/android/CordovaLib/build/intermediates/bundles/release/classes.jar new file mode 100644 index 0000000..681dc53 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/bundles/release/classes.jar differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/AuthenticationToken.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/AuthenticationToken.class new file mode 100644 index 0000000..e9d5146 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/AuthenticationToken.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/BuildConfig.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/BuildConfig.class new file mode 100644 index 0000000..bf0083a Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/BuildConfig.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CallbackContext.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CallbackContext.class new file mode 100644 index 0000000..6367893 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CallbackContext.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/Config.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/Config.class new file mode 100644 index 0000000..173ea3d Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/Config.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/ConfigXmlParser.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/ConfigXmlParser.class new file mode 100644 index 0000000..62fa0b3 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/ConfigXmlParser.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaActivity$1.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaActivity$1.class new file mode 100644 index 0000000..d4e3070 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaActivity$1.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaActivity$2.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaActivity$2.class new file mode 100644 index 0000000..fff3f96 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaActivity$2.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaActivity$3.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaActivity$3.class new file mode 100644 index 0000000..2e0296f Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaActivity$3.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaActivity$4$1.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaActivity$4$1.class new file mode 100644 index 0000000..785cbf9 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaActivity$4$1.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaActivity$4.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaActivity$4.class new file mode 100644 index 0000000..e1fa4e8 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaActivity$4.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaActivity.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaActivity.class new file mode 100644 index 0000000..efd1ee6 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaActivity.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaArgs.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaArgs.class new file mode 100644 index 0000000..18014a3 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaArgs.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaBridge.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaBridge.class new file mode 100644 index 0000000..17f3eef Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaBridge.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaClientCertRequest.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaClientCertRequest.class new file mode 100644 index 0000000..46007d4 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaClientCertRequest.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$1.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$1.class new file mode 100644 index 0000000..683ff52 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$1.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$2.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$2.class new file mode 100644 index 0000000..c7f3d4a Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$2.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$3.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$3.class new file mode 100644 index 0000000..4cb4f9b Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$3.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$4.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$4.class new file mode 100644 index 0000000..ac24ba5 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$4.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$5.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$5.class new file mode 100644 index 0000000..3ab9531 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$5.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$6.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$6.class new file mode 100644 index 0000000..05530d9 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$6.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$7.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$7.class new file mode 100644 index 0000000..5cd2cb8 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$7.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$8.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$8.class new file mode 100644 index 0000000..e57fded Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$8.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$9.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$9.class new file mode 100644 index 0000000..628d462 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$9.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$Result.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$Result.class new file mode 100644 index 0000000..c4dd999 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$Result.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper.class new file mode 100644 index 0000000..fd87376 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaHttpAuthHandler.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaHttpAuthHandler.class new file mode 100644 index 0000000..c912f92 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaHttpAuthHandler.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaInterface.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaInterface.class new file mode 100644 index 0000000..b205943 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaInterface.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaInterfaceImpl$ActivityResultHolder.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaInterfaceImpl$ActivityResultHolder.class new file mode 100644 index 0000000..8562638 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaInterfaceImpl$ActivityResultHolder.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaInterfaceImpl.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaInterfaceImpl.class new file mode 100644 index 0000000..718b002 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaInterfaceImpl.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaPlugin.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaPlugin.class new file mode 100644 index 0000000..b8f64c6 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaPlugin.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaPreferences.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaPreferences.class new file mode 100644 index 0000000..ed0b3da Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaPreferences.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaResourceApi$OpenForReadResult.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaResourceApi$OpenForReadResult.class new file mode 100644 index 0000000..15ab1f6 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaResourceApi$OpenForReadResult.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaResourceApi.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaResourceApi.class new file mode 100644 index 0000000..6079ff4 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaResourceApi.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebView.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebView.class new file mode 100644 index 0000000..feaba8c Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebView.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewEngine$Client.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewEngine$Client.class new file mode 100644 index 0000000..deb6dfd Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewEngine$Client.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewEngine$EngineView.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewEngine$EngineView.class new file mode 100644 index 0000000..1149bf2 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewEngine$EngineView.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewEngine.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewEngine.class new file mode 100644 index 0000000..39e1336 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewEngine.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewImpl$1.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewImpl$1.class new file mode 100644 index 0000000..4cf05bb Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewImpl$1.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewImpl$2.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewImpl$2.class new file mode 100644 index 0000000..af9110d Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewImpl$2.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewImpl$3.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewImpl$3.class new file mode 100644 index 0000000..e5c567e Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewImpl$3.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewImpl$EngineClient$1$1.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewImpl$EngineClient$1$1.class new file mode 100644 index 0000000..1370f66 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewImpl$EngineClient$1$1.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewImpl$EngineClient$1.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewImpl$EngineClient$1.class new file mode 100644 index 0000000..a93f937 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewImpl$EngineClient$1.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewImpl$EngineClient.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewImpl$EngineClient.class new file mode 100644 index 0000000..4df9559 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewImpl$EngineClient.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewImpl.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewImpl.class new file mode 100644 index 0000000..5100928 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewImpl.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CoreAndroid$1.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CoreAndroid$1.class new file mode 100644 index 0000000..4ae5090 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CoreAndroid$1.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CoreAndroid$2.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CoreAndroid$2.class new file mode 100644 index 0000000..967a4d1 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CoreAndroid$2.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CoreAndroid$3.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CoreAndroid$3.class new file mode 100644 index 0000000..5292b39 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CoreAndroid$3.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CoreAndroid$4.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CoreAndroid$4.class new file mode 100644 index 0000000..8d97659 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CoreAndroid$4.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CoreAndroid$5.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CoreAndroid$5.class new file mode 100644 index 0000000..caf3782 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CoreAndroid$5.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CoreAndroid.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CoreAndroid.class new file mode 100644 index 0000000..2581199 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CoreAndroid.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/ExposedJsApi.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/ExposedJsApi.class new file mode 100644 index 0000000..6e67520 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/ExposedJsApi.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/ICordovaClientCertRequest.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/ICordovaClientCertRequest.class new file mode 100644 index 0000000..18ad39e Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/ICordovaClientCertRequest.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/ICordovaCookieManager.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/ICordovaCookieManager.class new file mode 100644 index 0000000..142b69c Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/ICordovaCookieManager.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/ICordovaHttpAuthHandler.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/ICordovaHttpAuthHandler.class new file mode 100644 index 0000000..ac03d2d Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/ICordovaHttpAuthHandler.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/LOG.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/LOG.class new file mode 100644 index 0000000..7a7e8dd Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/LOG.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$BridgeMode.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$BridgeMode.class new file mode 100644 index 0000000..38bd839 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$BridgeMode.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$JsMessage.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$JsMessage.class new file mode 100644 index 0000000..5182181 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$JsMessage.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$LoadUrlBridgeMode$1.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$LoadUrlBridgeMode$1.class new file mode 100644 index 0000000..3eb921f Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$LoadUrlBridgeMode$1.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$LoadUrlBridgeMode.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$LoadUrlBridgeMode.class new file mode 100644 index 0000000..c08ebb4 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$LoadUrlBridgeMode.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$NoOpBridgeMode.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$NoOpBridgeMode.class new file mode 100644 index 0000000..c508806 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$NoOpBridgeMode.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$OnlineEventsBridgeMode$1.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$OnlineEventsBridgeMode$1.class new file mode 100644 index 0000000..04fe4ea Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$OnlineEventsBridgeMode$1.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$OnlineEventsBridgeMode$2.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$OnlineEventsBridgeMode$2.class new file mode 100644 index 0000000..cc3af31 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$OnlineEventsBridgeMode$2.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$OnlineEventsBridgeMode$OnlineEventsBridgeModeDelegate.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$OnlineEventsBridgeMode$OnlineEventsBridgeModeDelegate.class new file mode 100644 index 0000000..c384804 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$OnlineEventsBridgeMode$OnlineEventsBridgeModeDelegate.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$OnlineEventsBridgeMode.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$OnlineEventsBridgeMode.class new file mode 100644 index 0000000..d537202 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$OnlineEventsBridgeMode.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue.class new file mode 100644 index 0000000..b62f957 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/PluginEntry.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/PluginEntry.class new file mode 100644 index 0000000..4adc8d0 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/PluginEntry.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/PluginManager.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/PluginManager.class new file mode 100644 index 0000000..9dfc6fa Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/PluginManager.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/PluginResult$Status.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/PluginResult$Status.class new file mode 100644 index 0000000..d9ff981 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/PluginResult$Status.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/PluginResult.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/PluginResult.class new file mode 100644 index 0000000..dfefc65 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/PluginResult.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/ResumeCallback.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/ResumeCallback.class new file mode 100644 index 0000000..fc6a4d1 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/ResumeCallback.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/Whitelist$URLPattern.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/Whitelist$URLPattern.class new file mode 100644 index 0000000..db85196 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/Whitelist$URLPattern.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/Whitelist.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/Whitelist.class new file mode 100644 index 0000000..1be2bfc Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/Whitelist.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemCookieManager.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemCookieManager.class new file mode 100644 index 0000000..55051d0 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemCookieManager.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemExposedJsApi.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemExposedJsApi.class new file mode 100644 index 0000000..8511795 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemExposedJsApi.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebChromeClient$1.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebChromeClient$1.class new file mode 100644 index 0000000..95996f7 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebChromeClient$1.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebChromeClient$2.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebChromeClient$2.class new file mode 100644 index 0000000..8c8da1b Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebChromeClient$2.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebChromeClient$3.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebChromeClient$3.class new file mode 100644 index 0000000..5a345dd Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebChromeClient$3.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebChromeClient$4.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebChromeClient$4.class new file mode 100644 index 0000000..a06e973 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebChromeClient$4.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebChromeClient$5.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebChromeClient$5.class new file mode 100644 index 0000000..461dd70 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebChromeClient$5.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebChromeClient.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebChromeClient.class new file mode 100644 index 0000000..f7fbd21 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebChromeClient.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebView.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebView.class new file mode 100644 index 0000000..9dfe6ed Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebView.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebViewClient.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebViewClient.class new file mode 100644 index 0000000..4ded578 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebViewClient.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebViewEngine$1.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebViewEngine$1.class new file mode 100644 index 0000000..5b5b15e Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebViewEngine$1.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebViewEngine$2.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebViewEngine$2.class new file mode 100644 index 0000000..4cb98c4 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebViewEngine$2.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebViewEngine.class b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebViewEngine.class new file mode 100644 index 0000000..b71c6d8 Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebViewEngine.class differ diff --git a/platforms/android/CordovaLib/build/intermediates/incremental/compileReleaseAidl/dependency.store b/platforms/android/CordovaLib/build/intermediates/incremental/compileReleaseAidl/dependency.store new file mode 100644 index 0000000..8b8400d Binary files /dev/null and b/platforms/android/CordovaLib/build/intermediates/incremental/compileReleaseAidl/dependency.store differ diff --git a/platforms/android/CordovaLib/build/intermediates/incremental/mergeReleaseAssets/merger.xml b/platforms/android/CordovaLib/build/intermediates/incremental/mergeReleaseAssets/merger.xml new file mode 100644 index 0000000..b159f49 --- /dev/null +++ b/platforms/android/CordovaLib/build/intermediates/incremental/mergeReleaseAssets/merger.xml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/platforms/android/CordovaLib/build/intermediates/incremental/mergeReleaseJniLibFolders/merger.xml b/platforms/android/CordovaLib/build/intermediates/incremental/mergeReleaseJniLibFolders/merger.xml new file mode 100644 index 0000000..0babee2 --- /dev/null +++ b/platforms/android/CordovaLib/build/intermediates/incremental/mergeReleaseJniLibFolders/merger.xml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/platforms/android/CordovaLib/build/intermediates/incremental/packageReleaseResources/merger.xml b/platforms/android/CordovaLib/build/intermediates/incremental/packageReleaseResources/merger.xml new file mode 100644 index 0000000..247d0b8 --- /dev/null +++ b/platforms/android/CordovaLib/build/intermediates/incremental/packageReleaseResources/merger.xml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/platforms/android/CordovaLib/build/outputs/aar/CordovaLib-release.aar b/platforms/android/CordovaLib/build/outputs/aar/CordovaLib-release.aar new file mode 100644 index 0000000..cc0bd2c Binary files /dev/null and b/platforms/android/CordovaLib/build/outputs/aar/CordovaLib-release.aar differ diff --git a/platforms/android/android.json b/platforms/android/android.json index 701dee2..deff1cf 100644 --- a/platforms/android/android.json +++ b/platforms/android/android.json @@ -93,15 +93,15 @@ ], "/manifest/application": [ { - "xml": "", + "xml": "", "count": 1 }, { - "xml": "", + "xml": "", "count": 1 }, { - "xml": "", + "xml": "", "count": 1 } ], @@ -123,484 +123,7 @@ }, "res/values/strings.xml": { "parents": { - "/resources": [ - { - "xml": "Applications", - "count": 1 - }, - { - "xml": "Bookmarks", - "count": 1 - }, - { - "xml": "Add to calendar", - "count": 1 - }, - { - "xml": "Add contact", - "count": 1 - }, - { - "xml": "Back", - "count": 1 - }, - { - "xml": "Book Search", - "count": 1 - }, - { - "xml": "Cancel", - "count": 1 - }, - { - "xml": "Custom search", - "count": 1 - }, - { - "xml": "Dial number", - "count": 1 - }, - { - "xml": "Done", - "count": 1 - }, - { - "xml": "Send email", - "count": 1 - }, - { - "xml": "Get directions", - "count": 1 - }, - { - "xml": "Shopper", - "count": 1 - }, - { - "xml": "Send MMS", - "count": 1 - }, - { - "xml": "OK", - "count": 1 - }, - { - "xml": "Open browser", - "count": 1 - }, - { - "xml": "Product Search", - "count": 1 - }, - { - "xml": "Search contents", - "count": 1 - }, - { - "xml": "Application", - "count": 1 - }, - { - "xml": "Bookmark", - "count": 1 - }, - { - "xml": "Share via email", - "count": 1 - }, - { - "xml": "Share via SMS", - "count": 1 - }, - { - "xml": "Clipboard", - "count": 1 - }, - { - "xml": "Contact", - "count": 1 - }, - { - "xml": "Show map", - "count": 1 - }, - { - "xml": "Send SMS", - "count": 1 - }, - { - "xml": "Web search", - "count": 1 - }, - { - "xml": "Connect to Network", - "count": 1 - }, - { - "xml": "Contact info", - "count": 1 - }, - { - "xml": "Email address", - "count": 1 - }, - { - "xml": "Geographic coordinates", - "count": 1 - }, - { - "xml": "Phone number", - "count": 1 - }, - { - "xml": "SMS address", - "count": 1 - }, - { - "xml": "Plain text", - "count": 1 - }, - { - "xml": "Clear history", - "count": 1 - }, - { - "xml": "Clear", - "count": 1 - }, - { - "xml": "Barcode Scanner history", - "count": 1 - }, - { - "xml": "Empty", - "count": 1 - }, - { - "xml": "No barcode scans have been recorded", - "count": 1 - }, - { - "xml": "Send history", - "count": 1 - }, - { - "xml": "History", - "count": 1 - }, - { - "xml": "Use MECARD", - "count": 1 - }, - { - "xml": "Use vCard", - "count": 1 - }, - { - "xml": "Help", - "count": 1 - }, - { - "xml": "History", - "count": 1 - }, - { - "xml": "Share", - "count": 1 - }, - { - "xml": "Bulk mode: barcode scanned and saved", - "count": 1 - }, - { - "xml": "Sorry, the Android camera encountered a problem. You may need to restart the device.", - "count": 1 - }, - { - "xml": "Format", - "count": 1 - }, - { - "xml": "Metadata", - "count": 1 - }, - { - "xml": "Hi", - "count": 1 - }, - { - "xml": "Place a barcode inside the viewfinder rectangle to scan it.", - "count": 1 - }, - { - "xml": "Time", - "count": 1 - }, - { - "xml": "Type", - "count": 1 - }, - { - "xml": "Could not encode a barcode from the data provided.", - "count": 1 - }, - { - "xml": "Google Books", - "count": 1 - }, - { - "xml": "Google Product Search", - "count": 1 - }, - { - "xml": "Google Shopper is not installed", - "count": 1 - }, - { - "xml": "Google Shopper combines barcode scanning with online and local prices, reviews and more without opening the browser. Would you like to try it?", - "count": 1 - }, - { - "xml": "Sorry, the requested application could not be launched. The barcode contents may be invalid.", - "count": 1 - }, - { - "xml": "Redirect", - "count": 1 - }, - { - "xml": "Sorry, this book is not searchable.", - "count": 1 - }, - { - "xml": "Sorry, the search encountered a problem.", - "count": 1 - }, - { - "xml": "No page returned", - "count": 1 - }, - { - "xml": "Page", - "count": 1 - }, - { - "xml": "Results", - "count": 1 - }, - { - "xml": "Searching book\\u2026", - "count": 1 - }, - { - "xml": "Snippet not available", - "count": 1 - }, - { - "xml": "Unknown page", - "count": 1 - }, - { - "xml": "You can share data by displaying a barcode on your screen and scanning it with another phone.", - "count": 1 - }, - { - "xml": "Here are the contents of a barcode I scanned", - "count": 1 - }, - { - "xml": "Or type some text and press Enter", - "count": 1 - }, - { - "xml": "Are you sure?", - "count": 1 - }, - { - "xml": "Sorry, the SD card is not accessible.", - "count": 1 - }, - { - "xml": "When a barcode is found\\u2026", - "count": 1 - }, - { - "xml": "Use auto focus", - "count": 1 - }, - { - "xml": "Scan and save many barcodes continuously", - "count": 1 - }, - { - "xml": "Bulk scan mode", - "count": 1 - }, - { - "xml": "Copy to clipboard", - "count": 1 - }, - { - "xml": "Substitutions: %s = contents, %f = format, %t = type", - "count": 1 - }, - { - "xml": "Custom search URL", - "count": 1 - }, - { - "xml": "1D barcodes", - "count": 1 - }, - { - "xml": "Data Matrix", - "count": 1 - }, - { - "xml": "QR Codes", - "count": 1 - }, - { - "xml": "Device Bug Workarounds", - "count": 1 - }, - { - "xml": "Use only standard focus mode", - "count": 1 - }, - { - "xml": "No continuous focus", - "count": 1 - }, - { - "xml": "No exposure", - "count": 1 - }, - { - "xml": "Improves scanning in low light on some phones, but may cause glare. Does not work on all phones.", - "count": 1 - }, - { - "xml": "Use front light", - "count": 1 - }, - { - "xml": "General settings", - "count": 1 - }, - { - "xml": "Settings", - "count": 1 - }, - { - "xml": "Beep", - "count": 1 - }, - { - "xml": "Store multiple scans of the same barcode in History", - "count": 1 - }, - { - "xml": "Remember duplicates", - "count": 1 - }, - { - "xml": "Result settings", - "count": 1 - }, - { - "xml": "When scanning for barcodes, decode\\u2026", - "count": 1 - }, - { - "xml": "Search country", - "count": 1 - }, - { - "xml": "Try Barcode Scanner+", - "count": 1 - }, - { - "xml": "Enhanced with new features and interface", - "count": 1 - }, - { - "xml": "Try to retrieve more information about the barcode contents", - "count": 1 - }, - { - "xml": "Retrieve more info", - "count": 1 - }, - { - "xml": "Vibrate", - "count": 1 - }, - { - "xml": "Found contact info", - "count": 1 - }, - { - "xml": "Found calendar event", - "count": 1 - }, - { - "xml": "Found email address", - "count": 1 - }, - { - "xml": "Found geographic coordinates", - "count": 1 - }, - { - "xml": "Found book", - "count": 1 - }, - { - "xml": "Found product", - "count": 1 - }, - { - "xml": "Found SMS address", - "count": 1 - }, - { - "xml": "Found phone number", - "count": 1 - }, - { - "xml": "Found plain text", - "count": 1 - }, - { - "xml": "Found URL", - "count": 1 - }, - { - "xml": "Found WLAN Configuration", - "count": 1 - }, - { - "xml": "Google Book Search", - "count": 1 - }, - { - "xml": "Share via barcode", - "count": 1 - }, - { - "xml": "Requesting connection to network\\u2026", - "count": 1 - }, - { - "xml": "Network Name", - "count": 1 - }, - { - "xml": "Type", - "count": 1 - } - ] + "/resources": [] } } } @@ -971,6 +494,6 @@ "cordova-plugin-media": "2.2.1-dev", "cordova-plugin-media-capture": "1.2.1-dev", "cordova-plugin-geolocation": "2.1.1-dev", - "phonegap-plugin-barcodescanner": "4.1.0" + "phonegap-plugin-barcodescanner": "5.0.1" } } \ No newline at end of file diff --git a/platforms/android/assets/www/cordova_plugins.js b/platforms/android/assets/www/cordova_plugins.js index 301549e..6ea2704 100644 --- a/platforms/android/assets/www/cordova_plugins.js +++ b/platforms/android/assets/www/cordova_plugins.js @@ -325,7 +325,7 @@ module.exports.metadata = "cordova-plugin-media": "2.2.1-dev", "cordova-plugin-media-capture": "1.2.1-dev", "cordova-plugin-geolocation": "2.1.1-dev", - "phonegap-plugin-barcodescanner": "4.1.0" + "phonegap-plugin-barcodescanner": "5.0.1" }; // BOTTOM OF METADATA }); \ No newline at end of file diff --git a/platforms/android/assets/www/css/main.css b/platforms/android/assets/www/css/main.css index 91dbb61..e3d0b94 100644 --- a/platforms/android/assets/www/css/main.css +++ b/platforms/android/assets/www/css/main.css @@ -163,11 +163,11 @@ body { border-bottom-left-radius: 3px; } -.chatbox { +#chatbox { position: absolute; bottom: 0px; left: 0px; - height: auto !important; + height: auto; max-height: 50%; width: 100%; z-index: 9501; diff --git a/platforms/android/assets/www/index.html b/platforms/android/assets/www/index.html index 13899f6..041e064 100644 --- a/platforms/android/assets/www/index.html +++ b/platforms/android/assets/www/index.html @@ -29,11 +29,17 @@ + + + + - + @@ -43,7 +49,10 @@ -
+ +
diff --git a/platforms/android/assets/www/js/home.js b/platforms/android/assets/www/js/home.js index 8f5f6c2..507117e 100644 --- a/platforms/android/assets/www/js/home.js +++ b/platforms/android/assets/www/js/home.js @@ -31,6 +31,26 @@ $(".leaflet-control-zoom").css("visibility", "hidden"); //if (map.tap) { // map.tap.disable(); //} + +// Tile layer +map.addLayer(new L.tileLayer(tileurl, {minZoom: 17, maxZoom: 18})); +// Places layer +var placeLayer = L.geoJson( + {"name": "Places", "type": "FeatureCollection", "features": [{"type": "Feature", "geometry": {"type": "Point", "coordinates": [0, 0]}, "properties": {"osm_id": -1, "name": null}}]}, + { + onEachFeature: onPlaceTap, + pointToLayer: function (feature, latlng) { + return L.circleMarker(latlng, { + radius: 14, + fillColor: "#ff7800", + color: "#000", + weight: 1, + opacity: 1, + fillOpacity: 0.6 + }); + } + }).addTo(map); + var lc = L.control.locate({ position: 'topleft', // set the location of the control layer: undefined, // use your own layer for the location marker, creates a new layer by default @@ -64,23 +84,6 @@ var lc = L.control.locate({ }, locateOptions: {} // define location options e.g enableHighAccuracy: true or maxZoom: 10 }).addTo(map); -map.addLayer(new L.tileLayer(tileurl, {minZoom: 17, maxZoom: 18})); -// GeoJSON layer -var placeLayer = L.geoJson( - {"name": "Places", "type": "FeatureCollection", "features": [{"type": "Feature", "geometry": {"type": "Point", "coordinates": [0, 0]}, "properties": {"osm_id": -1, "name": null}}]}, - { - onEachFeature: onPlaceTap, - pointToLayer: function (feature, latlng) { - return L.circleMarker(latlng, { - radius: 14, - fillColor: "#ff7800", - color: "#000", - weight: 1, - opacity: 1, - fillOpacity: 0.6 - }); - } - }).addTo(map); lc.start(); function mapPos(lat, lon) { lockGot = true; @@ -205,6 +208,8 @@ setInterval(pingServer, 5000); setTimeout(function () { onError(); }, 15 * 1000); + + ////////////////////////////////////////////// // Profile, stats, and chat stuff ////////////////////////////////////////////// @@ -291,11 +296,11 @@ function toggleChat() { function closeChat() { $('#chatmsgs').css('display', 'none'); - $('.chatbox').css('height', 'auto'); + $('#chatbox').css('height', 'auto'); } function openChat() { - $('.chatbox').css('height', '50%'); + $('#chatbox').css('height', '50%'); $('#chatmsgs').css('display', 'block'); $("#chatmsgs").animate({scrollTop: $('#chatmsgs').prop("scrollHeight")}, 1000); } @@ -309,9 +314,11 @@ function openProfile(user) { } function openRules() { - $('#main-content').load("screens/rules.html", null, function (x) { - $('#overlay-main').css('display', 'block'); - }); + openmodal('rules', '#rules-modal'); +} + +function openIntro() { + openmodal('intro', '#intro-modal'); } function openMenu(topage) { @@ -346,7 +353,7 @@ document.addEventListener("backbutton", function (event) { } }, false); // Show the rules -if (localStorage.getItem("seenrules") !== 'yes') { - openRules(); - localStorage.setItem("seenrules", 'yes'); +if (localStorage.getItem("seenintro") !== 'yes') { + openIntro(); + localStorage.setItem("seenintro", 'yes'); } \ No newline at end of file diff --git a/platforms/android/assets/www/js/jquery.localize.js b/platforms/android/assets/www/js/jquery.localize.js new file mode 100644 index 0000000..999c0a8 --- /dev/null +++ b/platforms/android/assets/www/js/jquery.localize.js @@ -0,0 +1,4 @@ +/*! Localize - v0.1.0 - 2015-08-21 + * https://github.com/coderifous/jquery-localize + * Copyright (c) 2015 coderifous; Licensed MIT */ +!function(a){var b;return b=function(a){return a=a.replace(/_/,"-").toLowerCase(),a.length>3&&(a=a.substring(0,3)+a.substring(3).toUpperCase()),a},a.defaultLanguage=b(navigator.languages?navigator.languages[0]:navigator.language||navigator.userLanguage),a.localize=function(c,d){var e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;return null==d&&(d={}),u=this,g={},f=d.fileExtension||"json",j=function(a,b,c){var e;switch(null==c&&(c=1),c){case 1:return g={},d.loadBase?(e=a+("."+f),h(e,a,b,c)):j(a,b,2);case 2:if(b.length>=2)return e=""+a+"-"+b.substring(0,2)+"."+f,h(e,a,b,c);break;case 3:if(b.length>=5)return e=""+a+"-"+b.substring(0,5)+"."+f,h(e,a,b,c)}},h=function(b,c,e,f){var h,i,k;return null!=d.pathPrefix&&(b=""+d.pathPrefix+"/"+b),k=function(b){return a.extend(g,b),p(g),j(c,e,f+1)},i=function(){return d.fallback&&d.fallback!==e?j(c,d.fallback):void 0},h={url:b,dataType:"json",async:!1,timeout:null!=d.timeout?d.timeout:500,success:k,error:i},"file:"===window.location.protocol&&(h.error=function(b){return k(a.parseJSON(b.responseText))}),a.ajax(h)},p=function(a){return null!=d.callback?d.callback(a,e):e(a)},e=function(b){return a.localize.data[c]=b,u.each(function(){var c,d,e;return c=a(this),d=c.data("localize"),d||(d=c.attr("rel").match(/localize\[(.*?)\]/)[1]),e=t(d,b),null!=e?k(c,d,e):void 0})},k=function(b,c,d){return b.is("input")?n(b,c,d):b.is("textarea")?n(b,c,d):b.is("img")?m(b,c,d):b.is("optgroup")?o(b,c,d):a.isPlainObject(d)||b.html(d),a.isPlainObject(d)?l(b,d):void 0},n=function(b,c,d){var e;return e=a.isPlainObject(d)?d.value:d,b.is("[placeholder]")?b.attr("placeholder",e):b.val(e)},l=function(a,b){return r(a,"title",b),r(a,"href",b),s(a,"text",b)},o=function(a,b,c){return a.attr("label",c)},m=function(a,b,c){return r(a,"alt",c),r(a,"src",c)},t=function(a,b){var c,d,e,f;for(c=a.split(/\./),d=b,e=0,f=c.length;f>e;e++)a=c[e],d=null!=d?d[a]:null;return d},r=function(a,b,c){return c=t(b,c),null!=c?a.attr(b,c):void 0},s=function(a,b,c){return c=t(b,c),null!=c?a.text(c):void 0},q=function(a){var b;return"string"==typeof a?"^"+a+"$":null!=a.length?function(){var c,d,e;for(e=[],c=0,d=a.length;d>c;c++)b=a[c],e.push(q(b));return e}().join("|"):a},i=b(d.language?d.language:a.defaultLanguage),d.skipLanguage&&i.match(q(d.skipLanguage))||j(c,i,1),u},a.fn.localize=a.localize,a.localize.data={}}(jQuery); \ No newline at end of file diff --git a/platforms/android/assets/www/js/main.js b/platforms/android/assets/www/js/main.js index 45ecfa0..12ef656 100644 --- a/platforms/android/assets/www/js/main.js +++ b/platforms/android/assets/www/js/main.js @@ -51,6 +51,28 @@ function openscreen(screenname, effect) { } } +/** + * Opens a modal dialog over the top of everything else. + * @param {String} filename screens/[filename].html + * @param {String} modalselector [#id-of-the-modal] + * @returns {undefined} + */ +function openmodal(filename, modalselector) { + $('#modal-load-box').load("screens/" + filename + ".html", null, function (x) { + $(modalselector).css('z-index', 9999999); + $(modalselector).modal('show'); + }); +} + +/** + * Close a modal (see openmodal) + * @param {String} modalselector + * @returns {undefined} + */ +function closemodal(modalselector) { + $(modalselector).modal(hide); +} + function scanCode() { try { cordova.plugins.barcodeScanner.scan( diff --git a/platforms/android/assets/www/lang/login-screen-fr.json b/platforms/android/assets/www/lang/login-screen-fr.json new file mode 100644 index 0000000..b97a108 --- /dev/null +++ b/platforms/android/assets/www/lang/login-screen-fr.json @@ -0,0 +1,5 @@ +{ + "login-header": "Connectez-vous pour TerranQuest", + "signup-question": "Ne pas avoir un compte Netsyms?", + "logging-in-spin": "" +} diff --git a/platforms/android/assets/www/plugins/phonegap-plugin-barcodescanner/www/barcodescanner.js b/platforms/android/assets/www/plugins/phonegap-plugin-barcodescanner/www/barcodescanner.js index 2cedc03..4711883 100644 --- a/platforms/android/assets/www/plugins/phonegap-plugin-barcodescanner/www/barcodescanner.js +++ b/platforms/android/assets/www/plugins/phonegap-plugin-barcodescanner/www/barcodescanner.js @@ -8,28 +8,30 @@ cordova.define("phonegap-plugin-barcodescanner.BarcodeScanner", function(require */ -var exec = require("cordova/exec"); - -/** - * Constructor. - * - * @returns {BarcodeScanner} - */ -function BarcodeScanner() { - - /** - * Encoding constants. - * - * @type Object - */ - this.Encode = { - TEXT_TYPE: "TEXT_TYPE", - EMAIL_TYPE: "EMAIL_TYPE", - PHONE_TYPE: "PHONE_TYPE", - SMS_TYPE: "SMS_TYPE" - // CONTACT_TYPE: "CONTACT_TYPE", // TODO: not implemented, requires passing a Bundle class from Javascript to Java - // LOCATION_TYPE: "LOCATION_TYPE" // TODO: not implemented, requires passing a Bundle class from Javascript to Java - }; + var exec = require("cordova/exec"); + + var scanInProgress = false; + + /** + * Constructor. + * + * @returns {BarcodeScanner} + */ + function BarcodeScanner() { + + /** + * Encoding constants. + * + * @type Object + */ + this.Encode = { + TEXT_TYPE: "TEXT_TYPE", + EMAIL_TYPE: "EMAIL_TYPE", + PHONE_TYPE: "PHONE_TYPE", + SMS_TYPE: "SMS_TYPE" + // CONTACT_TYPE: "CONTACT_TYPE", // TODO: not implemented, requires passing a Bundle class from Javascript to Java + // LOCATION_TYPE: "LOCATION_TYPE" // TODO: not implemented, requires passing a Bundle class from Javascript to Java + }; /** * Barcode format constants, defined in ZXing library. @@ -57,72 +59,92 @@ function BarcodeScanner() { "upc_A": 16384, "upc_E": 32768, "upc_EAN_EXTENSION": 65536 - }; -}; + }; + } /** * Read code from scanner. * * @param {Function} successCallback This function will recieve a result object: { - * text : '12345-mock', // The code that was scanned. - * format : 'FORMAT_NAME', // Code format. - * cancelled : true/false, // Was canceled. - * } + * text : '12345-mock', // The code that was scanned. + * format : 'FORMAT_NAME', // Code format. + * cancelled : true/false, // Was canceled. + * } * @param {Function} errorCallback + * @param config */ BarcodeScanner.prototype.scan = function (successCallback, errorCallback, config) { - if(config instanceof Array) { - // do nothing - } else { - if(typeof(config) === 'object') { - config = [ config ]; - } else { - config = []; - } - } - - if (errorCallback == null) { - errorCallback = function () { + if (config instanceof Array) { + // do nothing + } else { + if (typeof(config) === 'object') { + config = [ config ]; + } else { + config = []; + } + } + + if (errorCallback == null) { + errorCallback = function () { + }; + } + + if (typeof errorCallback != "function") { + console.log("BarcodeScanner.scan failure: failure parameter not a function"); + return; + } + + if (typeof successCallback != "function") { + console.log("BarcodeScanner.scan failure: success callback parameter must be a function"); + return; + } + + if (scanInProgress) { + errorCallback('Scan is already in progress'); + return; + } + + scanInProgress = true; + + exec( + function(result) { + scanInProgress = false; + successCallback(result); + }, + function(error) { + scanInProgress = false; + errorCallback(error); + }, + 'BarcodeScanner', + 'scan', + config + ); }; - } - - if (typeof errorCallback != "function") { - console.log("BarcodeScanner.scan failure: failure parameter not a function"); - return; - } - - if (typeof successCallback != "function") { - console.log("BarcodeScanner.scan failure: success callback parameter must be a function"); - return; - } - exec(successCallback, errorCallback, 'BarcodeScanner', 'scan', config); -}; - -//------------------------------------------------------------------- -BarcodeScanner.prototype.encode = function (type, data, successCallback, errorCallback, options) { - if (errorCallback == null) { - errorCallback = function () { + //------------------------------------------------------------------- + BarcodeScanner.prototype.encode = function (type, data, successCallback, errorCallback, options) { + if (errorCallback == null) { + errorCallback = function () { + }; + } + + if (typeof errorCallback != "function") { + console.log("BarcodeScanner.encode failure: failure parameter not a function"); + return; + } + + if (typeof successCallback != "function") { + console.log("BarcodeScanner.encode failure: success callback parameter must be a function"); + return; + } + + exec(successCallback, errorCallback, 'BarcodeScanner', 'encode', [ + {"type": type, "data": data, "options": options} + ]); }; - } - - if (typeof errorCallback != "function") { - console.log("BarcodeScanner.encode failure: failure parameter not a function"); - return; - } - - if (typeof successCallback != "function") { - console.log("BarcodeScanner.encode failure: success callback parameter must be a function"); - return; - } - - exec(successCallback, errorCallback, 'BarcodeScanner', 'encode', [ - {"type": type, "data": data, "options": options} - ]); -}; -var barcodeScanner = new BarcodeScanner(); -module.exports = barcodeScanner; + var barcodeScanner = new BarcodeScanner(); + module.exports = barcodeScanner; }); diff --git a/platforms/android/assets/www/screens/home.html b/platforms/android/assets/www/screens/home.html index 0213329..397805e 100644 --- a/platforms/android/assets/www/screens/home.html +++ b/platforms/android/assets/www/screens/home.html @@ -38,7 +38,7 @@
-
+
diff --git a/platforms/android/assets/www/screens/intro.html b/platforms/android/assets/www/screens/intro.html new file mode 100644 index 0000000..86c30f6 --- /dev/null +++ b/platforms/android/assets/www/screens/intro.html @@ -0,0 +1,39 @@ + + \ No newline at end of file diff --git a/platforms/android/assets/www/screens/login.html b/platforms/android/assets/www/screens/login.html index 13a7a25..2c1a4a6 100644 --- a/platforms/android/assets/www/screens/login.html +++ b/platforms/android/assets/www/screens/login.html @@ -2,7 +2,7 @@

- Logging in... + Logging in...

@@ -12,7 +12,7 @@
-
+
Login to TerranQuest
@@ -31,13 +31,16 @@
+ + + + - + @@ -43,7 +49,10 @@ -
+ +
diff --git a/platforms/browser/www/js/home.js b/platforms/browser/www/js/home.js index 8f5f6c2..507117e 100644 --- a/platforms/browser/www/js/home.js +++ b/platforms/browser/www/js/home.js @@ -31,6 +31,26 @@ $(".leaflet-control-zoom").css("visibility", "hidden"); //if (map.tap) { // map.tap.disable(); //} + +// Tile layer +map.addLayer(new L.tileLayer(tileurl, {minZoom: 17, maxZoom: 18})); +// Places layer +var placeLayer = L.geoJson( + {"name": "Places", "type": "FeatureCollection", "features": [{"type": "Feature", "geometry": {"type": "Point", "coordinates": [0, 0]}, "properties": {"osm_id": -1, "name": null}}]}, + { + onEachFeature: onPlaceTap, + pointToLayer: function (feature, latlng) { + return L.circleMarker(latlng, { + radius: 14, + fillColor: "#ff7800", + color: "#000", + weight: 1, + opacity: 1, + fillOpacity: 0.6 + }); + } + }).addTo(map); + var lc = L.control.locate({ position: 'topleft', // set the location of the control layer: undefined, // use your own layer for the location marker, creates a new layer by default @@ -64,23 +84,6 @@ var lc = L.control.locate({ }, locateOptions: {} // define location options e.g enableHighAccuracy: true or maxZoom: 10 }).addTo(map); -map.addLayer(new L.tileLayer(tileurl, {minZoom: 17, maxZoom: 18})); -// GeoJSON layer -var placeLayer = L.geoJson( - {"name": "Places", "type": "FeatureCollection", "features": [{"type": "Feature", "geometry": {"type": "Point", "coordinates": [0, 0]}, "properties": {"osm_id": -1, "name": null}}]}, - { - onEachFeature: onPlaceTap, - pointToLayer: function (feature, latlng) { - return L.circleMarker(latlng, { - radius: 14, - fillColor: "#ff7800", - color: "#000", - weight: 1, - opacity: 1, - fillOpacity: 0.6 - }); - } - }).addTo(map); lc.start(); function mapPos(lat, lon) { lockGot = true; @@ -205,6 +208,8 @@ setInterval(pingServer, 5000); setTimeout(function () { onError(); }, 15 * 1000); + + ////////////////////////////////////////////// // Profile, stats, and chat stuff ////////////////////////////////////////////// @@ -291,11 +296,11 @@ function toggleChat() { function closeChat() { $('#chatmsgs').css('display', 'none'); - $('.chatbox').css('height', 'auto'); + $('#chatbox').css('height', 'auto'); } function openChat() { - $('.chatbox').css('height', '50%'); + $('#chatbox').css('height', '50%'); $('#chatmsgs').css('display', 'block'); $("#chatmsgs").animate({scrollTop: $('#chatmsgs').prop("scrollHeight")}, 1000); } @@ -309,9 +314,11 @@ function openProfile(user) { } function openRules() { - $('#main-content').load("screens/rules.html", null, function (x) { - $('#overlay-main').css('display', 'block'); - }); + openmodal('rules', '#rules-modal'); +} + +function openIntro() { + openmodal('intro', '#intro-modal'); } function openMenu(topage) { @@ -346,7 +353,7 @@ document.addEventListener("backbutton", function (event) { } }, false); // Show the rules -if (localStorage.getItem("seenrules") !== 'yes') { - openRules(); - localStorage.setItem("seenrules", 'yes'); +if (localStorage.getItem("seenintro") !== 'yes') { + openIntro(); + localStorage.setItem("seenintro", 'yes'); } \ No newline at end of file diff --git a/platforms/browser/www/js/jquery.localize.js b/platforms/browser/www/js/jquery.localize.js new file mode 100644 index 0000000..999c0a8 --- /dev/null +++ b/platforms/browser/www/js/jquery.localize.js @@ -0,0 +1,4 @@ +/*! Localize - v0.1.0 - 2015-08-21 + * https://github.com/coderifous/jquery-localize + * Copyright (c) 2015 coderifous; Licensed MIT */ +!function(a){var b;return b=function(a){return a=a.replace(/_/,"-").toLowerCase(),a.length>3&&(a=a.substring(0,3)+a.substring(3).toUpperCase()),a},a.defaultLanguage=b(navigator.languages?navigator.languages[0]:navigator.language||navigator.userLanguage),a.localize=function(c,d){var e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;return null==d&&(d={}),u=this,g={},f=d.fileExtension||"json",j=function(a,b,c){var e;switch(null==c&&(c=1),c){case 1:return g={},d.loadBase?(e=a+("."+f),h(e,a,b,c)):j(a,b,2);case 2:if(b.length>=2)return e=""+a+"-"+b.substring(0,2)+"."+f,h(e,a,b,c);break;case 3:if(b.length>=5)return e=""+a+"-"+b.substring(0,5)+"."+f,h(e,a,b,c)}},h=function(b,c,e,f){var h,i,k;return null!=d.pathPrefix&&(b=""+d.pathPrefix+"/"+b),k=function(b){return a.extend(g,b),p(g),j(c,e,f+1)},i=function(){return d.fallback&&d.fallback!==e?j(c,d.fallback):void 0},h={url:b,dataType:"json",async:!1,timeout:null!=d.timeout?d.timeout:500,success:k,error:i},"file:"===window.location.protocol&&(h.error=function(b){return k(a.parseJSON(b.responseText))}),a.ajax(h)},p=function(a){return null!=d.callback?d.callback(a,e):e(a)},e=function(b){return a.localize.data[c]=b,u.each(function(){var c,d,e;return c=a(this),d=c.data("localize"),d||(d=c.attr("rel").match(/localize\[(.*?)\]/)[1]),e=t(d,b),null!=e?k(c,d,e):void 0})},k=function(b,c,d){return b.is("input")?n(b,c,d):b.is("textarea")?n(b,c,d):b.is("img")?m(b,c,d):b.is("optgroup")?o(b,c,d):a.isPlainObject(d)||b.html(d),a.isPlainObject(d)?l(b,d):void 0},n=function(b,c,d){var e;return e=a.isPlainObject(d)?d.value:d,b.is("[placeholder]")?b.attr("placeholder",e):b.val(e)},l=function(a,b){return r(a,"title",b),r(a,"href",b),s(a,"text",b)},o=function(a,b,c){return a.attr("label",c)},m=function(a,b,c){return r(a,"alt",c),r(a,"src",c)},t=function(a,b){var c,d,e,f;for(c=a.split(/\./),d=b,e=0,f=c.length;f>e;e++)a=c[e],d=null!=d?d[a]:null;return d},r=function(a,b,c){return c=t(b,c),null!=c?a.attr(b,c):void 0},s=function(a,b,c){return c=t(b,c),null!=c?a.text(c):void 0},q=function(a){var b;return"string"==typeof a?"^"+a+"$":null!=a.length?function(){var c,d,e;for(e=[],c=0,d=a.length;d>c;c++)b=a[c],e.push(q(b));return e}().join("|"):a},i=b(d.language?d.language:a.defaultLanguage),d.skipLanguage&&i.match(q(d.skipLanguage))||j(c,i,1),u},a.fn.localize=a.localize,a.localize.data={}}(jQuery); \ No newline at end of file diff --git a/platforms/browser/www/js/main.js b/platforms/browser/www/js/main.js index 45ecfa0..12ef656 100644 --- a/platforms/browser/www/js/main.js +++ b/platforms/browser/www/js/main.js @@ -51,6 +51,28 @@ function openscreen(screenname, effect) { } } +/** + * Opens a modal dialog over the top of everything else. + * @param {String} filename screens/[filename].html + * @param {String} modalselector [#id-of-the-modal] + * @returns {undefined} + */ +function openmodal(filename, modalselector) { + $('#modal-load-box').load("screens/" + filename + ".html", null, function (x) { + $(modalselector).css('z-index', 9999999); + $(modalselector).modal('show'); + }); +} + +/** + * Close a modal (see openmodal) + * @param {String} modalselector + * @returns {undefined} + */ +function closemodal(modalselector) { + $(modalselector).modal(hide); +} + function scanCode() { try { cordova.plugins.barcodeScanner.scan( diff --git a/platforms/browser/www/lang/login-screen-fr.json b/platforms/browser/www/lang/login-screen-fr.json new file mode 100644 index 0000000..b97a108 --- /dev/null +++ b/platforms/browser/www/lang/login-screen-fr.json @@ -0,0 +1,5 @@ +{ + "login-header": "Connectez-vous pour TerranQuest", + "signup-question": "Ne pas avoir un compte Netsyms?", + "logging-in-spin": "" +} diff --git a/platforms/browser/www/plugins/phonegap-plugin-barcodescanner/www/barcodescanner.js b/platforms/browser/www/plugins/phonegap-plugin-barcodescanner/www/barcodescanner.js index 829b858..a7e7f11 100644 --- a/platforms/browser/www/plugins/phonegap-plugin-barcodescanner/www/barcodescanner.js +++ b/platforms/browser/www/plugins/phonegap-plugin-barcodescanner/www/barcodescanner.js @@ -7,28 +7,30 @@ cordova.define("phonegap-plugin-barcodescanner.BarcodeScanner", function(require */ -var exec = require("cordova/exec"); - -/** - * Constructor. - * - * @returns {BarcodeScanner} - */ -function BarcodeScanner() { - - /** - * Encoding constants. - * - * @type Object - */ - this.Encode = { - TEXT_TYPE: "TEXT_TYPE", - EMAIL_TYPE: "EMAIL_TYPE", - PHONE_TYPE: "PHONE_TYPE", - SMS_TYPE: "SMS_TYPE" - // CONTACT_TYPE: "CONTACT_TYPE", // TODO: not implemented, requires passing a Bundle class from Javascript to Java - // LOCATION_TYPE: "LOCATION_TYPE" // TODO: not implemented, requires passing a Bundle class from Javascript to Java - }; + var exec = require("cordova/exec"); + + var scanInProgress = false; + + /** + * Constructor. + * + * @returns {BarcodeScanner} + */ + function BarcodeScanner() { + + /** + * Encoding constants. + * + * @type Object + */ + this.Encode = { + TEXT_TYPE: "TEXT_TYPE", + EMAIL_TYPE: "EMAIL_TYPE", + PHONE_TYPE: "PHONE_TYPE", + SMS_TYPE: "SMS_TYPE" + // CONTACT_TYPE: "CONTACT_TYPE", // TODO: not implemented, requires passing a Bundle class from Javascript to Java + // LOCATION_TYPE: "LOCATION_TYPE" // TODO: not implemented, requires passing a Bundle class from Javascript to Java + }; /** * Barcode format constants, defined in ZXing library. @@ -56,72 +58,92 @@ function BarcodeScanner() { "upc_A": 16384, "upc_E": 32768, "upc_EAN_EXTENSION": 65536 - }; -}; + }; + } /** * Read code from scanner. * * @param {Function} successCallback This function will recieve a result object: { - * text : '12345-mock', // The code that was scanned. - * format : 'FORMAT_NAME', // Code format. - * cancelled : true/false, // Was canceled. - * } + * text : '12345-mock', // The code that was scanned. + * format : 'FORMAT_NAME', // Code format. + * cancelled : true/false, // Was canceled. + * } * @param {Function} errorCallback + * @param config */ BarcodeScanner.prototype.scan = function (successCallback, errorCallback, config) { - if(config instanceof Array) { - // do nothing - } else { - if(typeof(config) === 'object') { - config = [ config ]; - } else { - config = []; - } - } - - if (errorCallback == null) { - errorCallback = function () { + if (config instanceof Array) { + // do nothing + } else { + if (typeof(config) === 'object') { + config = [ config ]; + } else { + config = []; + } + } + + if (errorCallback == null) { + errorCallback = function () { + }; + } + + if (typeof errorCallback != "function") { + console.log("BarcodeScanner.scan failure: failure parameter not a function"); + return; + } + + if (typeof successCallback != "function") { + console.log("BarcodeScanner.scan failure: success callback parameter must be a function"); + return; + } + + if (scanInProgress) { + errorCallback('Scan is already in progress'); + return; + } + + scanInProgress = true; + + exec( + function(result) { + scanInProgress = false; + successCallback(result); + }, + function(error) { + scanInProgress = false; + errorCallback(error); + }, + 'BarcodeScanner', + 'scan', + config + ); }; - } - - if (typeof errorCallback != "function") { - console.log("BarcodeScanner.scan failure: failure parameter not a function"); - return; - } - - if (typeof successCallback != "function") { - console.log("BarcodeScanner.scan failure: success callback parameter must be a function"); - return; - } - exec(successCallback, errorCallback, 'BarcodeScanner', 'scan', config); -}; - -//------------------------------------------------------------------- -BarcodeScanner.prototype.encode = function (type, data, successCallback, errorCallback, options) { - if (errorCallback == null) { - errorCallback = function () { + //------------------------------------------------------------------- + BarcodeScanner.prototype.encode = function (type, data, successCallback, errorCallback, options) { + if (errorCallback == null) { + errorCallback = function () { + }; + } + + if (typeof errorCallback != "function") { + console.log("BarcodeScanner.encode failure: failure parameter not a function"); + return; + } + + if (typeof successCallback != "function") { + console.log("BarcodeScanner.encode failure: success callback parameter must be a function"); + return; + } + + exec(successCallback, errorCallback, 'BarcodeScanner', 'encode', [ + {"type": type, "data": data, "options": options} + ]); }; - } - - if (typeof errorCallback != "function") { - console.log("BarcodeScanner.encode failure: failure parameter not a function"); - return; - } - - if (typeof successCallback != "function") { - console.log("BarcodeScanner.encode failure: success callback parameter must be a function"); - return; - } - - exec(successCallback, errorCallback, 'BarcodeScanner', 'encode', [ - {"type": type, "data": data, "options": options} - ]); -}; -var barcodeScanner = new BarcodeScanner(); -module.exports = barcodeScanner; + var barcodeScanner = new BarcodeScanner(); + module.exports = barcodeScanner; }); diff --git a/platforms/browser/www/screens/home.html b/platforms/browser/www/screens/home.html index 0213329..397805e 100644 --- a/platforms/browser/www/screens/home.html +++ b/platforms/browser/www/screens/home.html @@ -38,7 +38,7 @@
-
+
diff --git a/platforms/browser/www/screens/intro.html b/platforms/browser/www/screens/intro.html new file mode 100644 index 0000000..86c30f6 --- /dev/null +++ b/platforms/browser/www/screens/intro.html @@ -0,0 +1,39 @@ + + \ No newline at end of file diff --git a/platforms/browser/www/screens/login.html b/platforms/browser/www/screens/login.html index 13a7a25..2c1a4a6 100644 --- a/platforms/browser/www/screens/login.html +++ b/platforms/browser/www/screens/login.html @@ -2,7 +2,7 @@

- Logging in... + Logging in...

@@ -12,7 +12,7 @@
-
+
Login to TerranQuest
@@ -31,13 +31,16 @@
+ + + + - + @@ -43,7 +49,10 @@ -
+ +
diff --git a/www/js/home.js b/www/js/home.js index 8f5f6c2..507117e 100644 --- a/www/js/home.js +++ b/www/js/home.js @@ -31,6 +31,26 @@ $(".leaflet-control-zoom").css("visibility", "hidden"); //if (map.tap) { // map.tap.disable(); //} + +// Tile layer +map.addLayer(new L.tileLayer(tileurl, {minZoom: 17, maxZoom: 18})); +// Places layer +var placeLayer = L.geoJson( + {"name": "Places", "type": "FeatureCollection", "features": [{"type": "Feature", "geometry": {"type": "Point", "coordinates": [0, 0]}, "properties": {"osm_id": -1, "name": null}}]}, + { + onEachFeature: onPlaceTap, + pointToLayer: function (feature, latlng) { + return L.circleMarker(latlng, { + radius: 14, + fillColor: "#ff7800", + color: "#000", + weight: 1, + opacity: 1, + fillOpacity: 0.6 + }); + } + }).addTo(map); + var lc = L.control.locate({ position: 'topleft', // set the location of the control layer: undefined, // use your own layer for the location marker, creates a new layer by default @@ -64,23 +84,6 @@ var lc = L.control.locate({ }, locateOptions: {} // define location options e.g enableHighAccuracy: true or maxZoom: 10 }).addTo(map); -map.addLayer(new L.tileLayer(tileurl, {minZoom: 17, maxZoom: 18})); -// GeoJSON layer -var placeLayer = L.geoJson( - {"name": "Places", "type": "FeatureCollection", "features": [{"type": "Feature", "geometry": {"type": "Point", "coordinates": [0, 0]}, "properties": {"osm_id": -1, "name": null}}]}, - { - onEachFeature: onPlaceTap, - pointToLayer: function (feature, latlng) { - return L.circleMarker(latlng, { - radius: 14, - fillColor: "#ff7800", - color: "#000", - weight: 1, - opacity: 1, - fillOpacity: 0.6 - }); - } - }).addTo(map); lc.start(); function mapPos(lat, lon) { lockGot = true; @@ -205,6 +208,8 @@ setInterval(pingServer, 5000); setTimeout(function () { onError(); }, 15 * 1000); + + ////////////////////////////////////////////// // Profile, stats, and chat stuff ////////////////////////////////////////////// @@ -291,11 +296,11 @@ function toggleChat() { function closeChat() { $('#chatmsgs').css('display', 'none'); - $('.chatbox').css('height', 'auto'); + $('#chatbox').css('height', 'auto'); } function openChat() { - $('.chatbox').css('height', '50%'); + $('#chatbox').css('height', '50%'); $('#chatmsgs').css('display', 'block'); $("#chatmsgs").animate({scrollTop: $('#chatmsgs').prop("scrollHeight")}, 1000); } @@ -309,9 +314,11 @@ function openProfile(user) { } function openRules() { - $('#main-content').load("screens/rules.html", null, function (x) { - $('#overlay-main').css('display', 'block'); - }); + openmodal('rules', '#rules-modal'); +} + +function openIntro() { + openmodal('intro', '#intro-modal'); } function openMenu(topage) { @@ -346,7 +353,7 @@ document.addEventListener("backbutton", function (event) { } }, false); // Show the rules -if (localStorage.getItem("seenrules") !== 'yes') { - openRules(); - localStorage.setItem("seenrules", 'yes'); +if (localStorage.getItem("seenintro") !== 'yes') { + openIntro(); + localStorage.setItem("seenintro", 'yes'); } \ No newline at end of file diff --git a/www/js/jquery.localize.js b/www/js/jquery.localize.js new file mode 100644 index 0000000..999c0a8 --- /dev/null +++ b/www/js/jquery.localize.js @@ -0,0 +1,4 @@ +/*! Localize - v0.1.0 - 2015-08-21 + * https://github.com/coderifous/jquery-localize + * Copyright (c) 2015 coderifous; Licensed MIT */ +!function(a){var b;return b=function(a){return a=a.replace(/_/,"-").toLowerCase(),a.length>3&&(a=a.substring(0,3)+a.substring(3).toUpperCase()),a},a.defaultLanguage=b(navigator.languages?navigator.languages[0]:navigator.language||navigator.userLanguage),a.localize=function(c,d){var e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;return null==d&&(d={}),u=this,g={},f=d.fileExtension||"json",j=function(a,b,c){var e;switch(null==c&&(c=1),c){case 1:return g={},d.loadBase?(e=a+("."+f),h(e,a,b,c)):j(a,b,2);case 2:if(b.length>=2)return e=""+a+"-"+b.substring(0,2)+"."+f,h(e,a,b,c);break;case 3:if(b.length>=5)return e=""+a+"-"+b.substring(0,5)+"."+f,h(e,a,b,c)}},h=function(b,c,e,f){var h,i,k;return null!=d.pathPrefix&&(b=""+d.pathPrefix+"/"+b),k=function(b){return a.extend(g,b),p(g),j(c,e,f+1)},i=function(){return d.fallback&&d.fallback!==e?j(c,d.fallback):void 0},h={url:b,dataType:"json",async:!1,timeout:null!=d.timeout?d.timeout:500,success:k,error:i},"file:"===window.location.protocol&&(h.error=function(b){return k(a.parseJSON(b.responseText))}),a.ajax(h)},p=function(a){return null!=d.callback?d.callback(a,e):e(a)},e=function(b){return a.localize.data[c]=b,u.each(function(){var c,d,e;return c=a(this),d=c.data("localize"),d||(d=c.attr("rel").match(/localize\[(.*?)\]/)[1]),e=t(d,b),null!=e?k(c,d,e):void 0})},k=function(b,c,d){return b.is("input")?n(b,c,d):b.is("textarea")?n(b,c,d):b.is("img")?m(b,c,d):b.is("optgroup")?o(b,c,d):a.isPlainObject(d)||b.html(d),a.isPlainObject(d)?l(b,d):void 0},n=function(b,c,d){var e;return e=a.isPlainObject(d)?d.value:d,b.is("[placeholder]")?b.attr("placeholder",e):b.val(e)},l=function(a,b){return r(a,"title",b),r(a,"href",b),s(a,"text",b)},o=function(a,b,c){return a.attr("label",c)},m=function(a,b,c){return r(a,"alt",c),r(a,"src",c)},t=function(a,b){var c,d,e,f;for(c=a.split(/\./),d=b,e=0,f=c.length;f>e;e++)a=c[e],d=null!=d?d[a]:null;return d},r=function(a,b,c){return c=t(b,c),null!=c?a.attr(b,c):void 0},s=function(a,b,c){return c=t(b,c),null!=c?a.text(c):void 0},q=function(a){var b;return"string"==typeof a?"^"+a+"$":null!=a.length?function(){var c,d,e;for(e=[],c=0,d=a.length;d>c;c++)b=a[c],e.push(q(b));return e}().join("|"):a},i=b(d.language?d.language:a.defaultLanguage),d.skipLanguage&&i.match(q(d.skipLanguage))||j(c,i,1),u},a.fn.localize=a.localize,a.localize.data={}}(jQuery); \ No newline at end of file diff --git a/www/js/main.js b/www/js/main.js index 45ecfa0..12ef656 100644 --- a/www/js/main.js +++ b/www/js/main.js @@ -51,6 +51,28 @@ function openscreen(screenname, effect) { } } +/** + * Opens a modal dialog over the top of everything else. + * @param {String} filename screens/[filename].html + * @param {String} modalselector [#id-of-the-modal] + * @returns {undefined} + */ +function openmodal(filename, modalselector) { + $('#modal-load-box').load("screens/" + filename + ".html", null, function (x) { + $(modalselector).css('z-index', 9999999); + $(modalselector).modal('show'); + }); +} + +/** + * Close a modal (see openmodal) + * @param {String} modalselector + * @returns {undefined} + */ +function closemodal(modalselector) { + $(modalselector).modal(hide); +} + function scanCode() { try { cordova.plugins.barcodeScanner.scan( diff --git a/www/lang/login-screen-fr.json b/www/lang/login-screen-fr.json new file mode 100644 index 0000000..b97a108 --- /dev/null +++ b/www/lang/login-screen-fr.json @@ -0,0 +1,5 @@ +{ + "login-header": "Connectez-vous pour TerranQuest", + "signup-question": "Ne pas avoir un compte Netsyms?", + "logging-in-spin": "" +} diff --git a/www/screens/home.html b/www/screens/home.html index 0213329..397805e 100644 --- a/www/screens/home.html +++ b/www/screens/home.html @@ -38,7 +38,7 @@
-
+
diff --git a/www/screens/intro.html b/www/screens/intro.html new file mode 100644 index 0000000..86c30f6 --- /dev/null +++ b/www/screens/intro.html @@ -0,0 +1,39 @@ + + \ No newline at end of file diff --git a/www/screens/login.html b/www/screens/login.html index 13a7a25..2c1a4a6 100644 --- a/www/screens/login.html +++ b/www/screens/login.html @@ -2,7 +2,7 @@

- Logging in... + Logging in...

@@ -12,7 +12,7 @@
-
+
Login to TerranQuest
@@ -31,13 +31,16 @@