First commit!!!1!!11!!one!!!
commit
1417f4416f
@ -0,0 +1,41 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0" xmlns:cdv="http://cordova.apache.org/ns/1.0" id="com.netsyms.terranquest.TerranQuest" version="1.0.0">
|
||||
<name>TerranQuest</name>
|
||||
<description>
|
||||
Augmented Reality fantasy game
|
||||
</description>
|
||||
<author email="admin@netsyms.com" href="https://netsyms.com">
|
||||
Netsyms Technologies
|
||||
</author>
|
||||
|
||||
<icon src="res/icon.png"/>
|
||||
<preference name="SplashScreen" value="res/splash.9.png" />
|
||||
<preference name="FadeSplashScreen" value="true"/>
|
||||
<preference name="FadeSplashScreenDuration" value="2000"/>
|
||||
<preference name="SplashScreenDelay" value="1000" />
|
||||
<preference name="SplashMaintainAspectRatio" value="false" />
|
||||
<preference name="SplashShowOnlyFirstTime" value="true" />
|
||||
<preference name="AutoHideSplashScreen" value="false" />
|
||||
<preference name="ShowSplashScreen" value="true" />
|
||||
<platform name="browser">
|
||||
<preference name="ShowSplashScreen" value="false" />
|
||||
</platform>
|
||||
|
||||
<content src="index.html"/>
|
||||
|
||||
<access origin="*"/>
|
||||
<allow-navigation href="*" />
|
||||
<allow-intent href="http://*/*"/>
|
||||
<allow-intent href="https://*/*"/>
|
||||
<allow-intent href="tel:*"/>
|
||||
<allow-intent href="sms:*"/>
|
||||
<allow-intent href="mailto:*"/>
|
||||
<allow-intent href="geo:*"/>
|
||||
<platform name="android">
|
||||
<allow-intent href="market:*"/>
|
||||
</platform>
|
||||
<platform name="ios">
|
||||
<allow-intent href="itms:*"/>
|
||||
<allow-intent href="itms-apps:*"/>
|
||||
</platform>
|
||||
</widget>
|
@ -0,0 +1,23 @@
|
||||
<!--
|
||||
#
|
||||
# Licensed to the Apache Software Foundation (ASF) under one
|
||||
# or more contributor license agreements. See the NOTICE file
|
||||
# distributed with this work for additional information
|
||||
# regarding copyright ownership. The ASF licenses this file
|
||||
# to you under the Apache License, Version 2.0 (the
|
||||
# "License"); you may not use this file except in compliance
|
||||
# with the License. You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing,
|
||||
# software distributed under the License is distributed on an
|
||||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
# KIND, either express or implied. See the License for the
|
||||
# specific language governing permissions and limitations
|
||||
# under the License.
|
||||
#
|
||||
-->
|
||||
# Cordova Hooks
|
||||
|
||||
Cordova Hooks represent special scripts which could be added by application and plugin developers or even by your own build system to customize cordova commands. See Hooks Guide for more details: http://cordova.apache.org/docs/en/edge/guide_appdev_hooks_index.md.html#Hooks%20Guide.
|
@ -0,0 +1,291 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
|
||||
|
||||
Copyright 1997-2012 Oracle and/or its affiliates. All rights reserved.
|
||||
|
||||
Oracle and Java are registered trademarks of Oracle and/or its affiliates.
|
||||
Other names may be trademarks of their respective owners.
|
||||
|
||||
|
||||
The contents of this file are subject to the terms of either the GNU
|
||||
General Public License Version 2 only ("GPL") or the Common
|
||||
Development and Distribution License("CDDL") (collectively, the
|
||||
"License"). You may not use this file except in compliance with the
|
||||
License. You can obtain a copy of the License at
|
||||
http://www.netbeans.org/cddl-gplv2.html
|
||||
or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
|
||||
specific language governing permissions and limitations under the
|
||||
License. When distributing the software, include this License Header
|
||||
Notice in each file and include the License file at
|
||||
nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this
|
||||
particular file as subject to the "Classpath" exception as provided
|
||||
by Oracle in the GPL Version 2 section of the License file that
|
||||
accompanied this code. If applicable, add the following below the
|
||||
License Header, with the fields enclosed by brackets [] replaced by
|
||||
your own identifying information:
|
||||
"Portions Copyrighted [year] [name of copyright owner]"
|
||||
|
||||
Contributor(s):
|
||||
|
||||
The Original Software is NetBeans. The Initial Developer of the Original
|
||||
Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
|
||||
Microsystems, Inc. All Rights Reserved.
|
||||
|
||||
If you wish your version of this file to be governed by only the CDDL
|
||||
or only the GPL Version 2, indicate your decision by adding
|
||||
"[Contributor] elects to include this software in this distribution
|
||||
under the [CDDL or GPL Version 2] license." If you do not indicate a
|
||||
single choice of license, a recipient has the option to distribute
|
||||
your version of this file under either the CDDL, the GPL Version 2 or
|
||||
to extend the choice of license to its licensees as provided above.
|
||||
However, if you add GPL Version 2 code and therefore, elected the GPL
|
||||
Version 2 license, then the option applies only if the new code is
|
||||
made subject to such option by the copyright holder.
|
||||
-->
|
||||
<!--
|
||||
Generated file; DO NOT EDIT.
|
||||
-->
|
||||
<project name="TerranQuest" basedir="..">
|
||||
<property file="nbproject/configs/${config}.properties" />
|
||||
|
||||
<scriptdef name="checkVersion" language="javascript">
|
||||
<attribute name="first" />
|
||||
<attribute name="property" />
|
||||
<![CDATA[
|
||||
var first = attributes.get("first");
|
||||
if (first >= "3.0.0") {
|
||||
project.setProperty(attributes.get("property"), true);
|
||||
}
|
||||
]]>
|
||||
</scriptdef>
|
||||
|
||||
<scriptdef name="forDevice" language="javascript">
|
||||
<![CDATA[
|
||||
var dev = project.getProperty("device");
|
||||
if (dev == "device") {
|
||||
project.setProperty("build.for.device", true);
|
||||
}
|
||||
]]>
|
||||
</scriptdef>
|
||||
|
||||
<target name="check-cordova-project">
|
||||
<condition property="cordova.project">
|
||||
<or>
|
||||
<available file=".cordova"/>
|
||||
<available file="hooks"/>
|
||||
</or>
|
||||
</condition>
|
||||
</target>
|
||||
|
||||
<target name="upgrade-to-cordova-project" depends="check-cordova-project,check-cordova-version" unless="cordova.project">
|
||||
<echo level="info" message="${cordova.command} -d create ${java.io.tmpdir}/nb_temp_project com.coolappz.${project.name} ${project.name}" />
|
||||
<delete dir="${java.io.tmpdir}/nb_temp_project"/>
|
||||
<exec executable="${cordova.command}" resolveexecutable="true" searchpath="true" failonerror="true" >
|
||||
<env key="${cordova.path.key}" path="${cordova.path.value}:${android.sdk.home}/tools:${android.sdk.home}/platform-tools:${jdk.home}/bin:${ant.home}/bin:${jdk.home}/bin"/>
|
||||
<env key="JAVA_HOME" path="${jdk.home}"/>
|
||||
<arg value="-d"/>
|
||||
<arg value="create"/>
|
||||
<arg value="${java.io.tmpdir}/nb_temp_project"/>
|
||||
<arg value="com.coolappz.${project.name}"/>
|
||||
<arg value="${project.name}" />
|
||||
</exec>
|
||||
<copy todir="." overwrite="true" failonerror="false">
|
||||
<fileset dir="${java.io.tmpdir}/nb_temp_project"/>
|
||||
</copy>
|
||||
<delete dir="${java.io.tmpdir}/nb_temp_project"/>
|
||||
<delete dir="www"/>
|
||||
<copy todir="www" failonerror="false" quiet="true" >
|
||||
<fileset dir="${site.root}"/>
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
<target name="create-hello-world" depends="check-cordova-version">
|
||||
<echo level="info" message="${cordova.command} -d create www_nb_temp com.coolappz.${project.name} ${project.name}" />
|
||||
<exec executable="${cordova.command}" resolveexecutable="true" searchpath="true" failonerror="true">
|
||||
<env key="${cordova.path.key}" path="${cordova.path.value}:${android.sdk.home}/tools:${android.sdk.home}/platform-tools:${jdk.home}/bin:${ant.home}/bin:${jdk.home}/bin"/>
|
||||
<env key="JAVA_HOME" path="${jdk.home}"/>
|
||||
<arg value="-d"/>
|
||||
<arg value="create"/>
|
||||
<arg value="www_nb_temp"/>
|
||||
<arg value="com.coolappz.${project.name}"/>
|
||||
<arg value="${project.name}" />
|
||||
</exec>
|
||||
<delete dir="www"/>
|
||||
<mkdir dir="www"/>
|
||||
<move file="www_nb_temp/www" tofile="www"/>
|
||||
<delete dir="www_nb_temp"/>
|
||||
<delete file="www/config.xml"/>
|
||||
</target>
|
||||
|
||||
<taskdef
|
||||
classname="org.netbeans.modules.cordova.updatetask.ReadConfigTask"
|
||||
classpath="${update.task.jar}"
|
||||
name="readconfig"/>
|
||||
|
||||
<taskdef
|
||||
classname="org.netbeans.modules.cordova.updatetask.PluginTask"
|
||||
classpath="${update.task.jar}"
|
||||
name="plugintask"/>
|
||||
|
||||
|
||||
<target name="check-cordova-version">
|
||||
<property environment="env"/>
|
||||
<checkVersion first="${cordova.version}" property="cordova.ver.3"/>
|
||||
<fail message="Cordova version 3 or greater required." unless="cordova.ver.3"/>
|
||||
<readconfig/>
|
||||
<forDevice/>
|
||||
</target>
|
||||
|
||||
<target name="check-android-template">
|
||||
<available file="platforms/android" property="android.generated.exists"/>
|
||||
</target>
|
||||
|
||||
<target name="check-ios-template">
|
||||
<available file="platforms/ios" property="ios.generated.exists"/>
|
||||
</target>
|
||||
|
||||
<target name="create-android" depends="check-android-template,check-cordova-version,upgrade-to-cordova-project" unless="android.generated.exists">
|
||||
<echo level="info" message="${cordova.command} -d platform add android"/>
|
||||
<exec executable="${cordova.command}" resolveexecutable="true" searchpath="true" failonerror="true">
|
||||
<env key="${cordova.path.key}" path="${cordova.path.value}:${android.sdk.home}/tools:${android.sdk.home}/platform-tools:${jdk.home}/bin:${ant.home}/bin:${jdk.home}/bin"/>
|
||||
<env key="JAVA_HOME" path="${jdk.home}"/>
|
||||
<arg value="-d"/>
|
||||
<arg value="platform"/>
|
||||
<arg value="add"/>
|
||||
<arg value="android"/>
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="create-ios" depends="check-ios-template,check-cordova-version,upgrade-to-cordova-project" unless="ios.generated.exists">
|
||||
<echo level="info" message="${cordova.command} -d platform add ios"/>
|
||||
<exec executable="${cordova.command}" resolveexecutable="true" searchpath="true" dir="." failonerror="true">
|
||||
<env key="${cordova.path.key}" path="${cordova.path.value}:${android.sdk.home}/tools:${android.sdk.home}/platform-tools:${jdk.home}/bin:${ant.home}/bin:${jdk.home}/bin"/>
|
||||
<env key="JAVA_HOME" path="${jdk.home}"/>
|
||||
<arg value="-d"/>
|
||||
<arg value="platform"/>
|
||||
<arg value="add"/>
|
||||
<arg value="ios"/>
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="rebuild-ios" depends="clean-ios,build-ios"/>
|
||||
|
||||
<target name="build-ios" depends="create-ios,update-plugins,update-ios,build-ios-xcodebuild,build-ios-ipa"/>
|
||||
|
||||
<target name="build-ios-xcodebuild">
|
||||
<property name="path" location="platforms/ios/build"/>
|
||||
<exec executable="xcodebuild" dir="platforms/ios" failonerror="true">
|
||||
<arg value="-project"/>
|
||||
<arg value="${project.name}.xcodeproj"/>
|
||||
<arg value="ARCHS=${ios.build.arch}"/>
|
||||
<arg value="-target"/>
|
||||
<arg value="${project.name}"/>
|
||||
<arg value="-configuration"/>
|
||||
<arg value="Release"/>
|
||||
<arg value="-sdk"/>
|
||||
<arg value="${ios.build.sdk}" />
|
||||
<arg value="build"/>
|
||||
<arg value="CONFIGURATION_BUILD_DIR=${path}"/>
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="build-ios-ipa" if="build.for.device">
|
||||
<exec executable="xcrun" dir="platforms/ios/build" failonerror="true">
|
||||
<env key="CODESIGN_ALLOCATE" value="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate" />
|
||||
<arg value="-sdk"/>
|
||||
<arg value="${ios.build.sdk}" />
|
||||
<arg value="PackageApplication"/>
|
||||
<arg value="-v"/>
|
||||
<arg value="${project.name}.app"/>
|
||||
<arg value="-o"/>
|
||||
<arg value="${basedir}/platforms/ios/build/${project.name}.ipa"/>
|
||||
<arg value="--sign"/>
|
||||
<arg value="${ios.certificate.name}"/>
|
||||
<arg value="--embed"/>
|
||||
<arg value="${ios.provisioning.profile}"/>
|
||||
</exec>
|
||||
<available file="${basedir}/platforms/ios/build/${project.name}.ipa" property="ipa.found"/>
|
||||
<fail unless="ipa.found" message="PackageApplication failed."/>
|
||||
</target>
|
||||
|
||||
|
||||
<target name="sim-ios" depends="build-ios,ios-run-device,ios-run-simulator">
|
||||
</target>
|
||||
|
||||
<target name="ios-run-device" if="build.for.device">
|
||||
<echo>
|
||||
Install "${basedir}/platforms/ios/build/${project.name}.ipa" through iTunes and run it.
|
||||
</echo>
|
||||
<exec executable="open" failonerror="true">
|
||||
<arg value="${basedir}/platforms/ios/build/${project.name}.ipa"/>
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="ios-run-simulator" unless="build.for.device">
|
||||
<exec executable="killall" dir="platforms/ios/build">
|
||||
<arg value="launchd_sim"/>
|
||||
</exec>
|
||||
<exec executable="${ios.sim.exec}" dir="platforms/ios/build" spawn="true">
|
||||
<arg line="launch ${project.name}.app ${ios.device.args}"/>
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="update-plugins">
|
||||
<!--<plugintask/>-->
|
||||
</target>
|
||||
|
||||
<target name="update-android">
|
||||
<echo level="info" message="${cordova.command} prepare android"/>
|
||||
|
||||
<exec executable="${cordova.command}" resolveexecutable="true" searchpath="true" failonerror="true">
|
||||
<env key="${cordova.path.key}" path="${cordova.path.value}:${android.sdk.home}/tools:${android.sdk.home}/platform-tools:${jdk.home}/bin:${ant.home}/bin:${jdk.home}/bin"/>
|
||||
<env key="JAVA_HOME" path="${jdk.home}"/>
|
||||
<arg value="prepare"/>
|
||||
<arg value="android"/>
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
|
||||
<target name="update-ios">
|
||||
<echo level="info" message="${cordova.command} prepare ios"/>
|
||||
<exec executable="${cordova.command}" resolveexecutable="true" searchpath="true" failonerror="true">
|
||||
<env key="${cordova.path.key}" path="${cordova.path.value}:${android.sdk.home}/tools:${android.sdk.home}/platform-tools:${jdk.home}/bin:${ant.home}/bin:${jdk.home}/bin"/>
|
||||
<env key="JAVA_HOME" path="${jdk.home}"/>
|
||||
<arg value="prepare"/>
|
||||
<arg value="ios"/>
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="rebuild-android" depends="clean-android,build-android"/>
|
||||
|
||||
<target name="build-android" depends="create-android,update-plugins">
|
||||
<echo level="info" message="${cordova.command} -d build android"/>
|
||||
<exec executable="${cordova.command}" resolveexecutable="true" searchpath="true" failonerror="true">
|
||||
<env key="${cordova.path.key}" path="${cordova.path.value}:${android.sdk.home}/tools:${android.sdk.home}/platform-tools:${jdk.home}/bin:${ant.home}/bin:${jdk.home}/bin"/>
|
||||
<env key="JAVA_HOME" path="${jdk.home}"/>
|
||||
<arg value="-d"/>
|
||||
<arg value="build"/>
|
||||
<arg value="android"/>
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="sim-android" depends="create-android,update-plugins">
|
||||
<echo level="info" message="${cordova.command} -d ${android.target.device.arg} android"/>
|
||||
<exec executable="${cordova.command}" resolveexecutable="true" searchpath="true" failonerror="true">
|
||||
<env key="${cordova.path.key}" path="${cordova.path.value}:${android.sdk.home}/tools:${android.sdk.home}/platform-tools:${jdk.home}/bin:${ant.home}/bin:${jdk.home}/bin"/>
|
||||
<env key="JAVA_HOME" path="${jdk.home}"/>
|
||||
<arg value="-d"/>
|
||||
<arg value="${android.target.device.arg}"/>
|
||||
<arg value="android"/>
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="clean-android" depends="check-android-template" if="android.generated.exists">
|
||||
<ant dir="platforms/android" target="clean"/>
|
||||
</target>
|
||||
|
||||
<target name="clean-ios" depends="check-ios-template" if="ios.generated.exists">
|
||||
<exec executable="platforms/ios/cordova/clean" />
|
||||
</target>
|
||||
</project>
|
@ -0,0 +1,3 @@
|
||||
device=emulator
|
||||
display.name=Android Emulator
|
||||
type=android
|
@ -0,0 +1,3 @@
|
||||
device=device
|
||||
display.name=Android Device
|
||||
type=android
|
@ -0,0 +1,5 @@
|
||||
device=emulator
|
||||
display.name=iPhone Simulator
|
||||
ios.build.arch=i386
|
||||
ios.build.sdk=iphonesimulator6.0
|
||||
type=ios
|
@ -0,0 +1,5 @@
|
||||
device=device
|
||||
display.name=iPhone Device
|
||||
ios.build.arch=armv6 armv7
|
||||
ios.build.sdk=iphoneos6.0
|
||||
type=ios
|
@ -0,0 +1,24 @@
|
||||
# This is a list of plugins installed in your project
|
||||
# You can delete or add new plugins
|
||||
#
|
||||
# Format is following:
|
||||
# name.of.plugin=url_of_repository
|
||||
#
|
||||
# This list contains all core cordova plugins.
|
||||
#
|
||||
# For more information about plugins see http://cordova.apache.org/blog/releases/2013/07/23/cordova-3.html
|
||||
#
|
||||
|
||||
org.apache.cordova.device=https://git-wip-us.apache.org/repos/asf/cordova-plugin-device.git
|
||||
org.apache.cordova.network-information=https://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information.git
|
||||
org.apache.cordova.device-motion=https://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion.git
|
||||
org.apache.cordova.device-orientation=https://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation.git
|
||||
org.apache.cordova.geolocation=https://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation.git
|
||||
org.apache.cordova.camera=https://git-wip-us.apache.org/repos/asf/cordova-plugin-camera.git
|
||||
org.apache.cordova.media-capture=https://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture.git
|
||||
org.apache.cordova.media=https://git-wip-us.apache.org/repos/asf/cordova-plugin-media.git
|
||||
org.apache.cordova.file=https://git-wip-us.apache.org/repos/asf/cordova-plugin-file.git
|
||||
org.apache.cordova.file-transfer=https://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer.git
|
||||
org.apache.cordova.dialogs=https://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs.git
|
||||
org.apache.cordova.console=https://git-wip-us.apache.org/repos/asf/cordova-plugin-console.git
|
||||
com.phonegap.plugins.barcodescanner=https://github.com/phonegap/phonegap-plugin-barcodescanner.git
|
@ -0,0 +1,8 @@
|
||||
auxiliary.org-netbeans-modules-cordova.cordova_5f_build_5f_script_5f_version=50
|
||||
auxiliary.org-netbeans-modules-cordova.phonegap=false
|
||||
auxiliary.org-netbeans-modules-web-clientproject-api.js_2e_libs_2e_folder=js/libs
|
||||
file.reference.TerranQuest-test=test
|
||||
file.reference.TerranQuest-www=www
|
||||
files.encoding=UTF-8
|
||||
site.root.folder=${file.reference.TerranQuest-www}
|
||||
test.folder=${file.reference.TerranQuest-test}
|
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://www.netbeans.org/ns/project/1">
|
||||
<type>org.netbeans.modules.web.clientproject</type>
|
||||
<configuration>
|
||||
<data xmlns="http://www.netbeans.org/ns/clientside-project/1">
|
||||
<name>TerranQuest</name>
|
||||
</data>
|
||||
</configuration>
|
||||
</project>
|
@ -0,0 +1,14 @@
|
||||
# Non-project-specific build files:
|
||||
build.xml
|
||||
local.properties
|
||||
/gradlew
|
||||
/gradlew.bat
|
||||
/gradle
|
||||
# Ant builds
|
||||
ant-build
|
||||
ant-gen
|
||||
# Eclipse builds
|
||||
gen
|
||||
out
|
||||
# Gradle builds
|
||||
/build
|
@ -0,0 +1 @@
|
||||
#Sat Feb 20 23:05:08 MST 2016
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,41 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<manifest android:hardwareAccelerated="true" android:versionCode="10000" android:versionName="1.0.0" package="com.netsyms.terranquest.TerranQuest" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" android:resizeable="true" android:smallScreens="true" android:xlargeScreens="true" />
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
<application android:hardwareAccelerated="true" android:icon="@drawable/icon" android:label="@string/app_name" android:supportsRtl="true">
|
||||
<activity android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale" android:label="@string/activity_name" android:launchMode="singleTop" android:name="MainActivity" android:theme="@android:style/Theme.DeviceDefault.NoActionBar" android:windowSoftInputMode="adjustResize">
|
||||
<intent-filter android:label="@string/launcher_name">
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<activity android:clearTaskOnLaunch="true" android:configChanges="orientation|keyboardHidden" android:exported="false" android:name="com.google.zxing.client.android.CaptureActivity" android:theme="@android:style/Theme.NoTitleBar.Fullscreen" android:windowSoftInputMode="stateAlwaysHidden">
|
||||
<intent-filter>
|
||||
<action android:name="com.google.zxing.client.android.SCAN" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<activity android:label="@string/share_name" android:name="com.google.zxing.client.android.encode.EncodeActivity">
|
||||
<intent-filter>
|
||||
<action android:name="com.phonegap.plugins.barcodescanner.ENCODE" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<activity android:label="@string/share_name" android:name="com.google.zxing.client.android.HelpActivity">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
</application>
|
||||
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="23" />
|
||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
||||
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
|
||||
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
|
||||
<uses-permission android:name="android.permission.RECORD_AUDIO" />
|
||||
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
|
||||
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
|
||||
<uses-permission android:name="android.permission.RECORD_VIDEO" />
|
||||
<uses-permission android:name="android.permission.CAMERA" />
|
||||
<uses-permission android:name="android.permission.FLASHLIGHT" />
|
||||
</manifest>
|
@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Licensed to the Apache Software Foundation (ASF) under one
|
||||
or more contributor license agreements. See the NOTICE file
|
||||
distributed with this work for additional information
|
||||
regarding copyright ownership. The ASF licenses this file
|
||||
to you under the Apache License, Version 2.0 (the
|
||||
"License"); you may not use this file except in compliance
|
||||
with the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing,
|
||||
software distributed under the License is distributed on an
|
||||
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
KIND, either express or implied. See the License for the
|
||||
specific language governing permissions and limitations
|
||||
under the License.
|
||||
-->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="org.apache.cordova" android:versionName="1.0" android:versionCode="1">
|
||||
<uses-sdk android:minSdkVersion="14" />
|
||||
</manifest>
|
@ -0,0 +1,61 @@
|
||||
/* Licensed to the Apache Software Foundation (ASF) under one
|
||||
or more contributor license agreements. See the NOTICE file
|
||||
distributed with this work for additional information
|
||||
regarding copyright ownership. The ASF licenses this file
|
||||
to you under the Apache License, Version 2.0 (the
|
||||
"License"); you may not use this file except in compliance
|
||||
with the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing,
|
||||
software distributed under the License is distributed on an
|
||||
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
KIND, either express or implied. See the License for the
|
||||
specific language governing permissions and limitations
|
||||
under the License.
|
||||
*/
|
||||
|
||||
|
||||
|
||||
buildscript {
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:1.5.0'
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
apply plugin: 'android-library'
|
||||
|
||||
ext {
|
||||
apply from: 'cordova.gradle'
|
||||
cdvCompileSdkVersion = privateHelpers.getProjectTarget()
|
||||
cdvBuildToolsVersion = privateHelpers.findLatestInstalledBuildTools()
|
||||
}
|
||||
|
||||
android {
|
||||
compileSdkVersion cdvCompileSdkVersion
|
||||
buildToolsVersion cdvBuildToolsVersion
|
||||
publishNonDefault true
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_1_6
|
||||
targetCompatibility JavaVersion.VERSION_1_6
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
main {
|
||||
manifest.srcFile 'AndroidManifest.xml'
|
||||
java.srcDirs = ['src']
|
||||
resources.srcDirs = ['src']
|
||||
aidl.srcDirs = ['src']
|
||||
renderscript.srcDirs = ['src']
|
||||
res.srcDirs = ['res']
|
||||
assets.srcDirs = ['assets']
|
||||
}
|
||||
}
|
||||
}
|
@ -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";
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Licensed to the Apache Software Foundation (ASF) under one
|
||||
or more contributor license agreements. See the NOTICE file
|
||||
distributed with this work for additional information
|
||||
regarding copyright ownership. The ASF licenses this file
|
||||
to you under the Apache License, Version 2.0 (the
|
||||
"License"); you may not use this file except in compliance
|
||||
with the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing,
|
||||
software distributed under the License is distributed on an
|
||||
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
KIND, either express or implied. See the License for the
|
||||
specific language governing permissions and limitations
|
||||
under the License.
|
||||
-->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="org.apache.cordova"
|
||||
android:versionCode="1"
|
||||
android:versionName="1.0" >
|
||||
|
||||
<uses-sdk android:minSdkVersion="14" />
|
||||
|
||||
</manifest>
|
@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Licensed to the Apache Software Foundation (ASF) under one
|
||||
or more contributor license agreements. See the NOTICE file
|
||||
distributed with this work for additional information
|
||||
regarding copyright ownership. The ASF licenses this file
|
||||
to you under the Apache License, Version 2.0 (the
|
||||
"License"); you may not use this file except in compliance
|
||||
with the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing,
|
||||
software distributed under the License is distributed on an
|
||||
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
KIND, either express or implied. See the License for the
|
||||
specific language governing permissions and limitations
|
||||
under the License.
|
||||
-->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="org.apache.cordova"
|
||||
android:versionCode="1"
|
||||
android:versionName="1.0" >
|
||||
|
||||
<uses-sdk android:minSdkVersion="14" />
|
||||
|
||||
</manifest>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue