diff --git a/CPJ/helloandroid.apk b/CPJ/helloandroid.apk
new file mode 100644
index 0000000..bee0e92
Binary files /dev/null and b/CPJ/helloandroid.apk differ
diff --git a/LZM/HelloWorld/.gitignore b/LZM/HelloWorld/.gitignore
new file mode 100644
index 0000000..9c4de58
--- /dev/null
+++ b/LZM/HelloWorld/.gitignore
@@ -0,0 +1,7 @@
+.gradle
+/local.properties
+/.idea/workspace.xml
+/.idea/libraries
+.DS_Store
+/build
+/captures
diff --git a/LZM/HelloWorld/.idea/.name b/LZM/HelloWorld/.idea/.name
new file mode 100644
index 0000000..8970971
--- /dev/null
+++ b/LZM/HelloWorld/.idea/.name
@@ -0,0 +1 @@
+HelloWorld
\ No newline at end of file
diff --git a/LZM/HelloWorld/.idea/compiler.xml b/LZM/HelloWorld/.idea/compiler.xml
new file mode 100644
index 0000000..96cc43e
--- /dev/null
+++ b/LZM/HelloWorld/.idea/compiler.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/LZM/HelloWorld/.idea/copyright/profiles_settings.xml b/LZM/HelloWorld/.idea/copyright/profiles_settings.xml
new file mode 100644
index 0000000..e7bedf3
--- /dev/null
+++ b/LZM/HelloWorld/.idea/copyright/profiles_settings.xml
@@ -0,0 +1,3 @@
+
+
+
\ No newline at end of file
diff --git a/LZM/HelloWorld/.idea/gradle.xml b/LZM/HelloWorld/.idea/gradle.xml
new file mode 100644
index 0000000..c51a3aa
--- /dev/null
+++ b/LZM/HelloWorld/.idea/gradle.xml
@@ -0,0 +1,19 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/LZM/HelloWorld/.idea/misc.xml b/LZM/HelloWorld/.idea/misc.xml
new file mode 100644
index 0000000..c709013
--- /dev/null
+++ b/LZM/HelloWorld/.idea/misc.xml
@@ -0,0 +1,65 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Android
+
+
+ Android Lint
+
+
+ Java
+
+
+ Java language level migration aidsJava
+
+
+
+
+ Android
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/LZM/HelloWorld/.idea/modules.xml b/LZM/HelloWorld/.idea/modules.xml
new file mode 100644
index 0000000..985142d
--- /dev/null
+++ b/LZM/HelloWorld/.idea/modules.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/LZM/HelloWorld/.idea/vcs.xml b/LZM/HelloWorld/.idea/vcs.xml
new file mode 100644
index 0000000..6564d52
--- /dev/null
+++ b/LZM/HelloWorld/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/LZM/HelloWorld/HelloWorld.iml b/LZM/HelloWorld/HelloWorld.iml
new file mode 100644
index 0000000..4fe3585
--- /dev/null
+++ b/LZM/HelloWorld/HelloWorld.iml
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/LZM/HelloWorld/app/.gitignore b/LZM/HelloWorld/app/.gitignore
new file mode 100644
index 0000000..796b96d
--- /dev/null
+++ b/LZM/HelloWorld/app/.gitignore
@@ -0,0 +1 @@
+/build
diff --git a/LZM/HelloWorld/app/app-release.apk b/LZM/HelloWorld/app/app-release.apk
new file mode 100644
index 0000000..b4fdc1d
Binary files /dev/null and b/LZM/HelloWorld/app/app-release.apk differ
diff --git a/LZM/HelloWorld/app/app.iml b/LZM/HelloWorld/app/app.iml
new file mode 100644
index 0000000..cacef64
--- /dev/null
+++ b/LZM/HelloWorld/app/app.iml
@@ -0,0 +1,95 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/LZM/HelloWorld/app/build.gradle b/LZM/HelloWorld/app/build.gradle
new file mode 100644
index 0000000..13c8517
--- /dev/null
+++ b/LZM/HelloWorld/app/build.gradle
@@ -0,0 +1,25 @@
+apply plugin: 'com.android.application'
+
+android {
+ compileSdkVersion 22
+ buildToolsVersion "22.0.1"
+
+ defaultConfig {
+ applicationId "com.example.hp.helloworld"
+ minSdkVersion 17
+ targetSdkVersion 22
+ versionCode 1
+ versionName "1.0"
+ }
+ buildTypes {
+ release {
+ minifyEnabled false
+ proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
+ }
+ }
+}
+
+dependencies {
+ compile fileTree(dir: 'libs', include: ['*.jar'])
+ compile 'com.android.support:appcompat-v7:22.2.1'
+}
diff --git a/LZM/HelloWorld/app/proguard-rules.pro b/LZM/HelloWorld/app/proguard-rules.pro
new file mode 100644
index 0000000..22cef25
--- /dev/null
+++ b/LZM/HelloWorld/app/proguard-rules.pro
@@ -0,0 +1,17 @@
+# Add project specific ProGuard rules here.
+# By default, the flags in this file are appended to flags specified
+# in D:\AndroidSDK\sdk/tools/proguard/proguard-android.txt
+# You can edit the include path and order by changing the proguardFiles
+# directive in build.gradle.
+#
+# For more details, see
+# http://developer.android.com/guide/developing/tools/proguard.html
+
+# Add any project specific keep options here:
+
+# If your project uses WebView with JS, uncomment the following
+# and specify the fully qualified class name to the JavaScript interface
+# class:
+#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
+# public *;
+#}
diff --git a/LZM/HelloWorld/app/src/androidTest/java/com/example/hp/helloworld/ApplicationTest.java b/LZM/HelloWorld/app/src/androidTest/java/com/example/hp/helloworld/ApplicationTest.java
new file mode 100644
index 0000000..c6fa91c
--- /dev/null
+++ b/LZM/HelloWorld/app/src/androidTest/java/com/example/hp/helloworld/ApplicationTest.java
@@ -0,0 +1,13 @@
+package com.example.hp.helloworld;
+
+import android.app.Application;
+import android.test.ApplicationTestCase;
+
+/**
+ * Testing Fundamentals
+ */
+public class ApplicationTest extends ApplicationTestCase {
+ public ApplicationTest() {
+ super(Application.class);
+ }
+}
\ No newline at end of file
diff --git a/LZM/HelloWorld/app/src/main/AndroidManifest.xml b/LZM/HelloWorld/app/src/main/AndroidManifest.xml
new file mode 100644
index 0000000..0a64a80
--- /dev/null
+++ b/LZM/HelloWorld/app/src/main/AndroidManifest.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/LZM/HelloWorld/app/src/main/java/com/example/hp/helloworld/MainActivity.java b/LZM/HelloWorld/app/src/main/java/com/example/hp/helloworld/MainActivity.java
new file mode 100644
index 0000000..8b7392b
--- /dev/null
+++ b/LZM/HelloWorld/app/src/main/java/com/example/hp/helloworld/MainActivity.java
@@ -0,0 +1,76 @@
+package com.example.hp.helloworld;
+
+import android.support.v7.app.ActionBarActivity;
+import android.os.Bundle;
+import android.view.Menu;
+import android.view.MenuItem;
+import android.view.View;
+import android.widget.Button;
+import android.widget.EditText;
+import android.widget.TextView;
+
+
+public class MainActivity extends ActionBarActivity {
+
+ private EditText mEdtSex, mEdtAge;
+ private Button mBtnOK;
+ private TextView mTxtR;
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_main);
+
+ mEdtSex = (EditText) findViewById(R.id.edtSex);
+ mEdtAge = (EditText)findViewById(R.id.edtAge);
+ mBtnOK = (Button) findViewById(R.id.btnOK);
+ mTxtR = (TextView) findViewById(R.id.txtR);
+
+ mBtnOK.setOnClickListener(btnOKOnClick);
+ }
+
+ @Override
+ public boolean onCreateOptionsMenu(Menu menu) {
+ // Inflate the menu; this adds items to the action bar if it is present.
+ getMenuInflater().inflate(R.menu.menu_main, menu);
+ return true;
+ }
+
+ private View.OnClickListener btnOKOnClick = new View.OnClickListener() {
+ @Override
+ public void onClick(View v) {
+ String strSex = mEdtSex.getText().toString();
+ int iAge = Integer.parseInt(mEdtAge.getText().toString());
+
+ String strSug = getString(R.string.result);
+ if (strSex.equals(getString(R.string.sex_male)))
+ if (iAge < 28)
+ strSug += getString(R.string.sug_not_hurry);
+ else if (iAge > 33)
+ strSug += getString(R.string.sug_get_married);
+ else
+ strSug += getString(R.string.sug_find_couple);
+ else if (iAge < 25)
+ strSug += getString(R.string.sug_not_hurry);
+ else if (iAge > 30)
+ strSug += getString(R.string.sug_get_married);
+ else
+ strSug += getString(R.string.sug_find_couple);
+
+ mTxtR.setText(strSug);
+ }
+ };
+ @Override
+ public boolean onOptionsItemSelected(MenuItem item) {
+ // Handle action bar item clicks here. The action bar will
+ // automatically handle clicks on the Home/Up button, so long
+ // as you specify a parent activity in AndroidManifest.xml.
+ int id = item.getItemId();
+
+ //noinspection SimplifiableIfStatement
+ if (id == R.id.action_settings) {
+ return true;
+ }
+
+ return super.onOptionsItemSelected(item);
+ }
+}
diff --git a/LZM/HelloWorld/app/src/main/res/layout/activity_main.xml b/LZM/HelloWorld/app/src/main/res/layout/activity_main.xml
new file mode 100644
index 0000000..3e3895d
--- /dev/null
+++ b/LZM/HelloWorld/app/src/main/res/layout/activity_main.xml
@@ -0,0 +1,60 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/LZM/HelloWorld/app/src/main/res/menu/menu_main.xml b/LZM/HelloWorld/app/src/main/res/menu/menu_main.xml
new file mode 100644
index 0000000..b1cb908
--- /dev/null
+++ b/LZM/HelloWorld/app/src/main/res/menu/menu_main.xml
@@ -0,0 +1,6 @@
+
diff --git a/LZM/HelloWorld/app/src/main/res/mipmap-hdpi/ic_launcher.png b/LZM/HelloWorld/app/src/main/res/mipmap-hdpi/ic_launcher.png
new file mode 100644
index 0000000..cde69bc
Binary files /dev/null and b/LZM/HelloWorld/app/src/main/res/mipmap-hdpi/ic_launcher.png differ
diff --git a/LZM/HelloWorld/app/src/main/res/mipmap-mdpi/ic_launcher.png b/LZM/HelloWorld/app/src/main/res/mipmap-mdpi/ic_launcher.png
new file mode 100644
index 0000000..c133a0c
Binary files /dev/null and b/LZM/HelloWorld/app/src/main/res/mipmap-mdpi/ic_launcher.png differ
diff --git a/LZM/HelloWorld/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/LZM/HelloWorld/app/src/main/res/mipmap-xhdpi/ic_launcher.png
new file mode 100644
index 0000000..bfa42f0
Binary files /dev/null and b/LZM/HelloWorld/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ
diff --git a/LZM/HelloWorld/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/LZM/HelloWorld/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
new file mode 100644
index 0000000..324e72c
Binary files /dev/null and b/LZM/HelloWorld/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ
diff --git a/LZM/HelloWorld/app/src/main/res/values-w820dp/dimens.xml b/LZM/HelloWorld/app/src/main/res/values-w820dp/dimens.xml
new file mode 100644
index 0000000..63fc816
--- /dev/null
+++ b/LZM/HelloWorld/app/src/main/res/values-w820dp/dimens.xml
@@ -0,0 +1,6 @@
+
+
+ 64dp
+
diff --git a/LZM/HelloWorld/app/src/main/res/values/dimens.xml b/LZM/HelloWorld/app/src/main/res/values/dimens.xml
new file mode 100644
index 0000000..47c8224
--- /dev/null
+++ b/LZM/HelloWorld/app/src/main/res/values/dimens.xml
@@ -0,0 +1,5 @@
+
+
+ 16dp
+ 16dp
+
diff --git a/LZM/HelloWorld/app/src/main/res/values/strings.xml b/LZM/HelloWorld/app/src/main/res/values/strings.xml
new file mode 100644
index 0000000..0f8f135
--- /dev/null
+++ b/LZM/HelloWorld/app/src/main/res/values/strings.xml
@@ -0,0 +1,16 @@
+
+ Test1
+
+ This is my first Android App!
+ Settings
+ 性别:
+ 年龄
+ 确定
+ 建议
+ 输入性别
+ 输入年龄
+ 还不急。
+ 赶快结婚!
+ 开始找对象。
+ 男
+
diff --git a/LZM/HelloWorld/app/src/main/res/values/styles.xml b/LZM/HelloWorld/app/src/main/res/values/styles.xml
new file mode 100644
index 0000000..766ab99
--- /dev/null
+++ b/LZM/HelloWorld/app/src/main/res/values/styles.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
diff --git a/LZM/HelloWorld/build.gradle b/LZM/HelloWorld/build.gradle
new file mode 100644
index 0000000..9405f3f
--- /dev/null
+++ b/LZM/HelloWorld/build.gradle
@@ -0,0 +1,19 @@
+// Top-level build file where you can add configuration options common to all sub-projects/modules.
+
+buildscript {
+ repositories {
+ jcenter()
+ }
+ dependencies {
+ classpath 'com.android.tools.build:gradle:1.2.3'
+
+ // NOTE: Do not place your application dependencies here; they belong
+ // in the individual module build.gradle files
+ }
+}
+
+allprojects {
+ repositories {
+ jcenter()
+ }
+}
diff --git a/LZM/HelloWorld/gradle.properties b/LZM/HelloWorld/gradle.properties
new file mode 100644
index 0000000..1d3591c
--- /dev/null
+++ b/LZM/HelloWorld/gradle.properties
@@ -0,0 +1,18 @@
+# Project-wide Gradle settings.
+
+# IDE (e.g. Android Studio) users:
+# Gradle settings configured through the IDE *will override*
+# any settings specified in this file.
+
+# For more details on how to configure your build environment visit
+# http://www.gradle.org/docs/current/userguide/build_environment.html
+
+# Specifies the JVM arguments used for the daemon process.
+# The setting is particularly useful for tweaking memory settings.
+# Default value: -Xmx10248m -XX:MaxPermSize=256m
+# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
+
+# When configured, Gradle will run in incubating parallel mode.
+# This option should only be used with decoupled projects. More details, visit
+# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
+# org.gradle.parallel=true
\ No newline at end of file
diff --git a/LZM/HelloWorld/gradle/wrapper/gradle-wrapper.jar b/LZM/HelloWorld/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..8c0fb64
Binary files /dev/null and b/LZM/HelloWorld/gradle/wrapper/gradle-wrapper.jar differ
diff --git a/LZM/HelloWorld/gradle/wrapper/gradle-wrapper.properties b/LZM/HelloWorld/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..0c71e76
--- /dev/null
+++ b/LZM/HelloWorld/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Wed Apr 10 15:27:10 PDT 2013
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-all.zip
diff --git a/LZM/HelloWorld/gradlew b/LZM/HelloWorld/gradlew
new file mode 100644
index 0000000..91a7e26
--- /dev/null
+++ b/LZM/HelloWorld/gradlew
@@ -0,0 +1,164 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched.
+if $cygwin ; then
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >&-
+APP_HOME="`pwd -P`"
+cd "$SAVED" >&-
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/LZM/HelloWorld/gradlew.bat b/LZM/HelloWorld/gradlew.bat
new file mode 100644
index 0000000..8a0b282
--- /dev/null
+++ b/LZM/HelloWorld/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/LZM/HelloWorld/settings.gradle b/LZM/HelloWorld/settings.gradle
new file mode 100644
index 0000000..e7b4def
--- /dev/null
+++ b/LZM/HelloWorld/settings.gradle
@@ -0,0 +1 @@
+include ':app'
diff --git a/WRS/GeoQuiz/.classpath b/WRS/GeoQuiz/.classpath
new file mode 100644
index 0000000..7bc01d9
--- /dev/null
+++ b/WRS/GeoQuiz/.classpath
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
diff --git a/WRS/GeoQuiz/.gitattributes b/WRS/GeoQuiz/.gitattributes
new file mode 100644
index 0000000..bdb0cab
--- /dev/null
+++ b/WRS/GeoQuiz/.gitattributes
@@ -0,0 +1,17 @@
+# Auto detect text files and perform LF normalization
+* text=auto
+
+# Custom for Visual Studio
+*.cs diff=csharp
+
+# Standard to msysgit
+*.doc diff=astextplain
+*.DOC diff=astextplain
+*.docx diff=astextplain
+*.DOCX diff=astextplain
+*.dot diff=astextplain
+*.DOT diff=astextplain
+*.pdf diff=astextplain
+*.PDF diff=astextplain
+*.rtf diff=astextplain
+*.RTF diff=astextplain
diff --git a/WRS/GeoQuiz/.gitignore b/WRS/GeoQuiz/.gitignore
new file mode 100644
index 0000000..96374c4
--- /dev/null
+++ b/WRS/GeoQuiz/.gitignore
@@ -0,0 +1,43 @@
+# Windows image file caches
+Thumbs.db
+ehthumbs.db
+
+# Folder config file
+Desktop.ini
+
+# Recycle Bin used on file shares
+$RECYCLE.BIN/
+
+# Windows Installer files
+*.cab
+*.msi
+*.msm
+*.msp
+
+# Windows shortcuts
+*.lnk
+
+# =========================
+# Operating System Files
+# =========================
+
+# OSX
+# =========================
+
+.DS_Store
+.AppleDouble
+.LSOverride
+
+# Thumbnails
+._*
+
+# Files that might appear on external disk
+.Spotlight-V100
+.Trashes
+
+# Directories potentially created on remote AFP share
+.AppleDB
+.AppleDesktop
+Network Trash Folder
+Temporary Items
+.apdisk
diff --git a/WRS/GeoQuiz/.project b/WRS/GeoQuiz/.project
new file mode 100644
index 0000000..7ffb453
--- /dev/null
+++ b/WRS/GeoQuiz/.project
@@ -0,0 +1,33 @@
+
+
+ GeoQuiz
+
+
+
+
+
+ com.android.ide.eclipse.adt.ResourceManagerBuilder
+
+
+
+
+ com.android.ide.eclipse.adt.PreCompilerBuilder
+
+
+
+
+ org.eclipse.jdt.core.javabuilder
+
+
+
+
+ com.android.ide.eclipse.adt.ApkBuilder
+
+
+
+
+
+ com.android.ide.eclipse.adt.AndroidNature
+ org.eclipse.jdt.core.javanature
+
+
diff --git a/WRS/GeoQuiz/.settings/org.eclipse.jdt.core.prefs b/WRS/GeoQuiz/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 0000000..b080d2d
--- /dev/null
+++ b/WRS/GeoQuiz/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,4 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.source=1.6
diff --git a/WRS/GeoQuiz/AndroidManifest.xml b/WRS/GeoQuiz/AndroidManifest.xml
new file mode 100644
index 0000000..b28e6af
--- /dev/null
+++ b/WRS/GeoQuiz/AndroidManifest.xml
@@ -0,0 +1,27 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/WRS/GeoQuiz/bin/AndroidManifest.xml b/WRS/GeoQuiz/bin/AndroidManifest.xml
new file mode 100644
index 0000000..b28e6af
--- /dev/null
+++ b/WRS/GeoQuiz/bin/AndroidManifest.xml
@@ -0,0 +1,27 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/WRS/GeoQuiz/bin/GeoQuiz.apk b/WRS/GeoQuiz/bin/GeoQuiz.apk
new file mode 100644
index 0000000..1b2bd1a
Binary files /dev/null and b/WRS/GeoQuiz/bin/GeoQuiz.apk differ
diff --git a/WRS/GeoQuiz/bin/classes.dex b/WRS/GeoQuiz/bin/classes.dex
new file mode 100644
index 0000000..c2803ec
Binary files /dev/null and b/WRS/GeoQuiz/bin/classes.dex differ
diff --git a/WRS/GeoQuiz/bin/classes/com/bignerdranch/android/geoquiz/BuildConfig.class b/WRS/GeoQuiz/bin/classes/com/bignerdranch/android/geoquiz/BuildConfig.class
new file mode 100644
index 0000000..853d6e6
Binary files /dev/null and b/WRS/GeoQuiz/bin/classes/com/bignerdranch/android/geoquiz/BuildConfig.class differ
diff --git a/WRS/GeoQuiz/bin/classes/com/bignerdranch/android/geoquiz/QuizActivity$1.class b/WRS/GeoQuiz/bin/classes/com/bignerdranch/android/geoquiz/QuizActivity$1.class
new file mode 100644
index 0000000..458938d
Binary files /dev/null and b/WRS/GeoQuiz/bin/classes/com/bignerdranch/android/geoquiz/QuizActivity$1.class differ
diff --git a/WRS/GeoQuiz/bin/classes/com/bignerdranch/android/geoquiz/QuizActivity$2.class b/WRS/GeoQuiz/bin/classes/com/bignerdranch/android/geoquiz/QuizActivity$2.class
new file mode 100644
index 0000000..3e89866
Binary files /dev/null and b/WRS/GeoQuiz/bin/classes/com/bignerdranch/android/geoquiz/QuizActivity$2.class differ
diff --git a/WRS/GeoQuiz/bin/classes/com/bignerdranch/android/geoquiz/QuizActivity$3.class b/WRS/GeoQuiz/bin/classes/com/bignerdranch/android/geoquiz/QuizActivity$3.class
new file mode 100644
index 0000000..93e5976
Binary files /dev/null and b/WRS/GeoQuiz/bin/classes/com/bignerdranch/android/geoquiz/QuizActivity$3.class differ
diff --git a/WRS/GeoQuiz/bin/classes/com/bignerdranch/android/geoquiz/QuizActivity.class b/WRS/GeoQuiz/bin/classes/com/bignerdranch/android/geoquiz/QuizActivity.class
new file mode 100644
index 0000000..9b93087
Binary files /dev/null and b/WRS/GeoQuiz/bin/classes/com/bignerdranch/android/geoquiz/QuizActivity.class differ
diff --git a/WRS/GeoQuiz/bin/classes/com/bignerdranch/android/geoquiz/R$attr.class b/WRS/GeoQuiz/bin/classes/com/bignerdranch/android/geoquiz/R$attr.class
new file mode 100644
index 0000000..4559615
Binary files /dev/null and b/WRS/GeoQuiz/bin/classes/com/bignerdranch/android/geoquiz/R$attr.class differ
diff --git a/WRS/GeoQuiz/bin/classes/com/bignerdranch/android/geoquiz/R$dimen.class b/WRS/GeoQuiz/bin/classes/com/bignerdranch/android/geoquiz/R$dimen.class
new file mode 100644
index 0000000..b104572
Binary files /dev/null and b/WRS/GeoQuiz/bin/classes/com/bignerdranch/android/geoquiz/R$dimen.class differ
diff --git a/WRS/GeoQuiz/bin/classes/com/bignerdranch/android/geoquiz/R$drawable.class b/WRS/GeoQuiz/bin/classes/com/bignerdranch/android/geoquiz/R$drawable.class
new file mode 100644
index 0000000..9fdee1e
Binary files /dev/null and b/WRS/GeoQuiz/bin/classes/com/bignerdranch/android/geoquiz/R$drawable.class differ
diff --git a/WRS/GeoQuiz/bin/classes/com/bignerdranch/android/geoquiz/R$id.class b/WRS/GeoQuiz/bin/classes/com/bignerdranch/android/geoquiz/R$id.class
new file mode 100644
index 0000000..c2be522
Binary files /dev/null and b/WRS/GeoQuiz/bin/classes/com/bignerdranch/android/geoquiz/R$id.class differ
diff --git a/WRS/GeoQuiz/bin/classes/com/bignerdranch/android/geoquiz/R$layout.class b/WRS/GeoQuiz/bin/classes/com/bignerdranch/android/geoquiz/R$layout.class
new file mode 100644
index 0000000..11f8d8b
Binary files /dev/null and b/WRS/GeoQuiz/bin/classes/com/bignerdranch/android/geoquiz/R$layout.class differ
diff --git a/WRS/GeoQuiz/bin/classes/com/bignerdranch/android/geoquiz/R$menu.class b/WRS/GeoQuiz/bin/classes/com/bignerdranch/android/geoquiz/R$menu.class
new file mode 100644
index 0000000..484ed24
Binary files /dev/null and b/WRS/GeoQuiz/bin/classes/com/bignerdranch/android/geoquiz/R$menu.class differ
diff --git a/WRS/GeoQuiz/bin/classes/com/bignerdranch/android/geoquiz/R$string.class b/WRS/GeoQuiz/bin/classes/com/bignerdranch/android/geoquiz/R$string.class
new file mode 100644
index 0000000..7dda774
Binary files /dev/null and b/WRS/GeoQuiz/bin/classes/com/bignerdranch/android/geoquiz/R$string.class differ
diff --git a/WRS/GeoQuiz/bin/classes/com/bignerdranch/android/geoquiz/R$style.class b/WRS/GeoQuiz/bin/classes/com/bignerdranch/android/geoquiz/R$style.class
new file mode 100644
index 0000000..66eb45e
Binary files /dev/null and b/WRS/GeoQuiz/bin/classes/com/bignerdranch/android/geoquiz/R$style.class differ
diff --git a/WRS/GeoQuiz/bin/classes/com/bignerdranch/android/geoquiz/R.class b/WRS/GeoQuiz/bin/classes/com/bignerdranch/android/geoquiz/R.class
new file mode 100644
index 0000000..53ee02e
Binary files /dev/null and b/WRS/GeoQuiz/bin/classes/com/bignerdranch/android/geoquiz/R.class differ
diff --git a/WRS/GeoQuiz/bin/classes/com/bignerdranch/android/geoquiz/TrueFalse.class b/WRS/GeoQuiz/bin/classes/com/bignerdranch/android/geoquiz/TrueFalse.class
new file mode 100644
index 0000000..5dd0cde
Binary files /dev/null and b/WRS/GeoQuiz/bin/classes/com/bignerdranch/android/geoquiz/TrueFalse.class differ
diff --git a/WRS/GeoQuiz/bin/dexedLibs/android-support-v4-82b4b888fa70549973ba272e00f4f9fc.jar b/WRS/GeoQuiz/bin/dexedLibs/android-support-v4-82b4b888fa70549973ba272e00f4f9fc.jar
new file mode 100644
index 0000000..71dca29
Binary files /dev/null and b/WRS/GeoQuiz/bin/dexedLibs/android-support-v4-82b4b888fa70549973ba272e00f4f9fc.jar differ
diff --git a/WRS/GeoQuiz/bin/jarlist.cache b/WRS/GeoQuiz/bin/jarlist.cache
new file mode 100644
index 0000000..0565465
--- /dev/null
+++ b/WRS/GeoQuiz/bin/jarlist.cache
@@ -0,0 +1,3 @@
+# cache for current jar dependency. DO NOT EDIT.
+# format is
+# Encoding is UTF-8
diff --git a/WRS/GeoQuiz/bin/res/crunch/drawable-hdpi/ic_launcher.png b/WRS/GeoQuiz/bin/res/crunch/drawable-hdpi/ic_launcher.png
new file mode 100644
index 0000000..bcfa058
Binary files /dev/null and b/WRS/GeoQuiz/bin/res/crunch/drawable-hdpi/ic_launcher.png differ
diff --git a/WRS/GeoQuiz/bin/res/crunch/drawable-mdpi/ic_launcher.png b/WRS/GeoQuiz/bin/res/crunch/drawable-mdpi/ic_launcher.png
new file mode 100644
index 0000000..85848ff
Binary files /dev/null and b/WRS/GeoQuiz/bin/res/crunch/drawable-mdpi/ic_launcher.png differ
diff --git a/WRS/GeoQuiz/bin/res/crunch/drawable-xhdpi/ic_launcher.png b/WRS/GeoQuiz/bin/res/crunch/drawable-xhdpi/ic_launcher.png
new file mode 100644
index 0000000..916901e
Binary files /dev/null and b/WRS/GeoQuiz/bin/res/crunch/drawable-xhdpi/ic_launcher.png differ
diff --git a/WRS/GeoQuiz/bin/resources.ap_ b/WRS/GeoQuiz/bin/resources.ap_
new file mode 100644
index 0000000..1bb86cf
Binary files /dev/null and b/WRS/GeoQuiz/bin/resources.ap_ differ
diff --git a/WRS/GeoQuiz/gen/com/bignerdranch/android/geoquiz/BuildConfig.java b/WRS/GeoQuiz/gen/com/bignerdranch/android/geoquiz/BuildConfig.java
new file mode 100644
index 0000000..6e75d2c
--- /dev/null
+++ b/WRS/GeoQuiz/gen/com/bignerdranch/android/geoquiz/BuildConfig.java
@@ -0,0 +1,6 @@
+/** Automatically generated file. DO NOT MODIFY */
+package com.bignerdranch.android.geoquiz;
+
+public final class BuildConfig {
+ public final static boolean DEBUG = true;
+}
\ No newline at end of file
diff --git a/WRS/GeoQuiz/gen/com/bignerdranch/android/geoquiz/R.java b/WRS/GeoQuiz/gen/com/bignerdranch/android/geoquiz/R.java
new file mode 100644
index 0000000..f67755f
--- /dev/null
+++ b/WRS/GeoQuiz/gen/com/bignerdranch/android/geoquiz/R.java
@@ -0,0 +1,83 @@
+/* AUTO-GENERATED FILE. DO NOT MODIFY.
+ *
+ * This class was automatically generated by the
+ * aapt tool from the resource data it found. It
+ * should not be modified by hand.
+ */
+
+package com.bignerdranch.android.geoquiz;
+
+public final class R {
+ public static final class attr {
+ }
+ public static final class dimen {
+ /** Default screen margins, per the Android Design guidelines.
+
+ Customize dimensions originally defined in res/values/dimens.xml (such as
+ screen margins) for sw720dp devices (e.g. 10" tablets) in landscape here.
+
+ */
+ public static final int activity_horizontal_margin=0x7f040000;
+ public static final int activity_vertical_margin=0x7f040001;
+ }
+ public static final class drawable {
+ public static final int ic_launcher=0x7f020000;
+ }
+ public static final class id {
+ public static final int action_settings=0x7f080004;
+ public static final int false_button=0x7f080003;
+ public static final int next_button=0x7f080001;
+ public static final int question_text_view=0x7f080000;
+ public static final int true_button=0x7f080002;
+ }
+ public static final class layout {
+ public static final int activity_quiz=0x7f030000;
+ }
+ public static final class menu {
+ public static final int quiz=0x7f070000;
+ }
+ public static final class string {
+ public static final int action_settings=0x7f050001;
+ public static final int app_name=0x7f050000;
+ public static final int correct_toast=0x7f050006;
+ public static final int false_button=0x7f050004;
+ public static final int hello_world=0x7f050002;
+ public static final int incorrect_toast=0x7f050007;
+ public static final int menu_settings=0x7f050005;
+ public static final int next_button=0x7f050008;
+ public static final int question_africa=0x7f05000b;
+ public static final int question_americas=0x7f05000c;
+ public static final int question_asia=0x7f05000d;
+ public static final int question_mideast=0x7f05000a;
+ public static final int question_oceans=0x7f050009;
+ public static final int true_button=0x7f050003;
+ }
+ public static final class style {
+ /**
+ Base application theme, dependent on API level. This theme is replaced
+ by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
+
+
+ Theme customizations available in newer API levels can go in
+ res/values-vXX/styles.xml, while customizations related to
+ backward-compatibility can go here.
+
+
+ Base application theme for API 11+. This theme completely replaces
+ AppBaseTheme from res/values/styles.xml on API 11+ devices.
+
+ API 11 theme customizations can go here.
+
+ Base application theme for API 14+. This theme completely replaces
+ AppBaseTheme from BOTH res/values/styles.xml and
+ res/values-v11/styles.xml on API 14+ devices.
+
+ API 14 theme customizations can go here.
+ */
+ public static final int AppBaseTheme=0x7f060000;
+ /** Application theme.
+ All customizations that are NOT specific to a particular API-level can go here.
+ */
+ public static final int AppTheme=0x7f060001;
+ }
+}
diff --git a/WRS/GeoQuiz/libs/android-support-v4.jar b/WRS/GeoQuiz/libs/android-support-v4.jar
new file mode 100644
index 0000000..9056828
Binary files /dev/null and b/WRS/GeoQuiz/libs/android-support-v4.jar differ
diff --git a/WRS/GeoQuiz/proguard-project.txt b/WRS/GeoQuiz/proguard-project.txt
new file mode 100644
index 0000000..f2fe155
--- /dev/null
+++ b/WRS/GeoQuiz/proguard-project.txt
@@ -0,0 +1,20 @@
+# To enable ProGuard in your project, edit project.properties
+# to define the proguard.config property as described in that file.
+#
+# Add project specific ProGuard rules here.
+# By default, the flags in this file are appended to flags specified
+# in ${sdk.dir}/tools/proguard/proguard-android.txt
+# You can edit the include path and order by changing the ProGuard
+# include property in project.properties.
+#
+# For more details, see
+# http://developer.android.com/guide/developing/tools/proguard.html
+
+# Add any project specific keep options here:
+
+# If your project uses WebView with JS, uncomment the following
+# and specify the fully qualified class name to the JavaScript interface
+# class:
+#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
+# public *;
+#}
diff --git a/WRS/GeoQuiz/project.properties b/WRS/GeoQuiz/project.properties
new file mode 100644
index 0000000..4ab1256
--- /dev/null
+++ b/WRS/GeoQuiz/project.properties
@@ -0,0 +1,14 @@
+# This file is automatically generated by Android Tools.
+# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
+#
+# This file must be checked in Version Control Systems.
+#
+# To customize properties used by the Ant build system edit
+# "ant.properties", and override values to adapt the script to your
+# project structure.
+#
+# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
+#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
+
+# Project target.
+target=android-19
diff --git a/WRS/GeoQuiz/res/drawable-hdpi/ic_launcher.png b/WRS/GeoQuiz/res/drawable-hdpi/ic_launcher.png
new file mode 100644
index 0000000..96a442e
Binary files /dev/null and b/WRS/GeoQuiz/res/drawable-hdpi/ic_launcher.png differ
diff --git a/WRS/GeoQuiz/res/drawable-mdpi/ic_launcher.png b/WRS/GeoQuiz/res/drawable-mdpi/ic_launcher.png
new file mode 100644
index 0000000..359047d
Binary files /dev/null and b/WRS/GeoQuiz/res/drawable-mdpi/ic_launcher.png differ
diff --git a/WRS/GeoQuiz/res/drawable-xhdpi/ic_launcher.png b/WRS/GeoQuiz/res/drawable-xhdpi/ic_launcher.png
new file mode 100644
index 0000000..71c6d76
Binary files /dev/null and b/WRS/GeoQuiz/res/drawable-xhdpi/ic_launcher.png differ
diff --git a/WRS/GeoQuiz/res/layout/activity_quiz.xml b/WRS/GeoQuiz/res/layout/activity_quiz.xml
new file mode 100644
index 0000000..25ef5fb
--- /dev/null
+++ b/WRS/GeoQuiz/res/layout/activity_quiz.xml
@@ -0,0 +1,50 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/WRS/GeoQuiz/res/menu/quiz.xml b/WRS/GeoQuiz/res/menu/quiz.xml
new file mode 100644
index 0000000..c002028
--- /dev/null
+++ b/WRS/GeoQuiz/res/menu/quiz.xml
@@ -0,0 +1,9 @@
+
diff --git a/WRS/GeoQuiz/res/values-sw600dp/dimens.xml b/WRS/GeoQuiz/res/values-sw600dp/dimens.xml
new file mode 100644
index 0000000..44f01db
--- /dev/null
+++ b/WRS/GeoQuiz/res/values-sw600dp/dimens.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
diff --git a/WRS/GeoQuiz/res/values-sw720dp-land/dimens.xml b/WRS/GeoQuiz/res/values-sw720dp-land/dimens.xml
new file mode 100644
index 0000000..61e3fa8
--- /dev/null
+++ b/WRS/GeoQuiz/res/values-sw720dp-land/dimens.xml
@@ -0,0 +1,9 @@
+
+
+
+ 128dp
+
+
diff --git a/WRS/GeoQuiz/res/values-v11/styles.xml b/WRS/GeoQuiz/res/values-v11/styles.xml
new file mode 100644
index 0000000..3c02242
--- /dev/null
+++ b/WRS/GeoQuiz/res/values-v11/styles.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
diff --git a/WRS/GeoQuiz/res/values-v14/styles.xml b/WRS/GeoQuiz/res/values-v14/styles.xml
new file mode 100644
index 0000000..a91fd03
--- /dev/null
+++ b/WRS/GeoQuiz/res/values-v14/styles.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
diff --git a/WRS/GeoQuiz/res/values/dimens.xml b/WRS/GeoQuiz/res/values/dimens.xml
new file mode 100644
index 0000000..55c1e59
--- /dev/null
+++ b/WRS/GeoQuiz/res/values/dimens.xml
@@ -0,0 +1,7 @@
+
+
+
+ 16dp
+ 16dp
+
+
diff --git a/WRS/GeoQuiz/res/values/strings.xml b/WRS/GeoQuiz/res/values/strings.xml
new file mode 100644
index 0000000..c94a47d
--- /dev/null
+++ b/WRS/GeoQuiz/res/values/strings.xml
@@ -0,0 +1,21 @@
+
+
+
+ GeoQuiz
+ Settings
+
+
+ True
+ False
+ Settings
+ Correct!
+ Incorrect!
+ Next
+
+ The Pacific Ocean is larger than the Atlantic Ocean.
+ The Susz Canal connects the Red Sea and the Atlantic Ocean.
+ The source of the Nile River is in Egypt.
+ The Amazon River is the longest river in the Americas.
+ Lake Baikal is the world\'s oldest and deepest freshwater lake.
+
+
diff --git a/WRS/GeoQuiz/res/values/styles.xml b/WRS/GeoQuiz/res/values/styles.xml
new file mode 100644
index 0000000..6ce89c7
--- /dev/null
+++ b/WRS/GeoQuiz/res/values/styles.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
diff --git a/WRS/GeoQuiz/src/com/bignerdranch/android/geoquiz/QuizActivity.java b/WRS/GeoQuiz/src/com/bignerdranch/android/geoquiz/QuizActivity.java
new file mode 100644
index 0000000..43603b4
--- /dev/null
+++ b/WRS/GeoQuiz/src/com/bignerdranch/android/geoquiz/QuizActivity.java
@@ -0,0 +1,89 @@
+package com.bignerdranch.android.geoquiz;
+
+import android.app.Activity;
+import android.os.Bundle;
+import android.view.Menu;
+import android.view.View;
+import android.widget.Button;
+import android.widget.TextView;
+import android.widget.Toast;
+
+public class QuizActivity extends Activity {
+
+ private Button mTrueButton;
+ private Button mFalseButton;
+ private Button mNextButton;
+ private TextView mQuestionTextView;
+
+ private TrueFalse[] mQuestionBank = new TrueFalse[]{
+ new TrueFalse(R.string.question_oceans, true),
+ new TrueFalse(R.string.question_mideast, false),
+ new TrueFalse(R.string.question_africa, false),
+ new TrueFalse(R.string.question_americas, true),
+ new TrueFalse(R.string.question_asia, true),
+ };
+
+ private int mCurrentIndex = 0;
+
+ private void updateQuestion(){
+ int question = mQuestionBank[mCurrentIndex].getQuestion();
+ mQuestionTextView.setText(question);
+ }
+
+ private void checkAnswer(boolean userPressedTrue){
+ boolean answerIsTrue = mQuestionBank[mCurrentIndex].isTrueQuestion();
+ int messageResId = 0;
+ if(userPressedTrue == answerIsTrue){
+ messageResId = R.string.correct_toast;
+ } else{
+ messageResId = R.string.incorrect_toast;
+ }
+ Toast.makeText(this, messageResId, Toast.LENGTH_SHORT).show();
+ }
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_quiz);
+
+ mQuestionTextView = (TextView)findViewById(R.id.question_text_view);
+
+ mTrueButton = (Button)findViewById(R.id.true_button);
+ mTrueButton.setOnClickListener(new View.OnClickListener(){
+ @Override
+ public void onClick(View v){
+ checkAnswer(true);
+ }
+ });
+
+ mFalseButton = (Button)findViewById(R.id.false_button);
+ mFalseButton.setOnClickListener(new View.OnClickListener(){
+ @Override
+ public void onClick(View v){
+ checkAnswer(false);
+
+ }
+ });
+
+ mNextButton = (Button)findViewById(R.id.next_button);
+ mNextButton.setOnClickListener(new View.OnClickListener(){
+ @Override
+ public void onClick(View v){
+ mCurrentIndex = (mCurrentIndex + 1) % mQuestionBank.length;
+
+ updateQuestion();
+ }
+ });
+
+ updateQuestion();
+ }
+
+
+ @Override
+ public boolean onCreateOptionsMenu(Menu menu) {
+ // Inflate the menu; this adds items to the action bar if it is present.
+ getMenuInflater().inflate(R.menu.quiz, menu);
+ return true;
+ }
+
+}
diff --git a/WRS/GeoQuiz/src/com/bignerdranch/android/geoquiz/TrueFalse.java b/WRS/GeoQuiz/src/com/bignerdranch/android/geoquiz/TrueFalse.java
new file mode 100644
index 0000000..a4ce0db
--- /dev/null
+++ b/WRS/GeoQuiz/src/com/bignerdranch/android/geoquiz/TrueFalse.java
@@ -0,0 +1,32 @@
+package com.bignerdranch.android.geoquiz;
+
+public class TrueFalse {
+
+ private int mQuestion;
+ private boolean mTrueQuestion;
+
+ /**
+ * @param question
+ * @param trueQuestion
+ */
+ public TrueFalse(int question, boolean trueQuestion){
+ mQuestion = question;
+ mTrueQuestion = trueQuestion;
+ }
+
+ public int getQuestion() {
+ return mQuestion;
+ }
+
+ public void setQuestion(int question) {
+ mQuestion = question;
+ }
+
+ public boolean isTrueQuestion() {
+ return mTrueQuestion;
+ }
+
+ public void setTrueQuestion(boolean trueQuestion) {
+ mTrueQuestion = trueQuestion;
+ }
+}