diff --git a/InClass3/.classpath b/InClass3/.classpath new file mode 100644 index 0000000..26bdfa6 --- /dev/null +++ b/InClass3/.classpath @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/InClass3/.project b/InClass3/.project new file mode 100644 index 0000000..0329159 --- /dev/null +++ b/InClass3/.project @@ -0,0 +1,33 @@ + + + InClass3 + + + + + + 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/InClass3/.settings/org.eclipse.jdt.core.prefs b/InClass3/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..48ab4c6 --- /dev/null +++ b/InClass3/.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/InClass3/AndroidManifest.xml b/InClass3/AndroidManifest.xml new file mode 100644 index 0000000..50af039 --- /dev/null +++ b/InClass3/AndroidManifest.xml @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + diff --git a/InClass3/ic_launcher-web.png b/InClass3/ic_launcher-web.png new file mode 100644 index 0000000..796fe44 Binary files /dev/null and b/InClass3/ic_launcher-web.png differ diff --git a/InClass3/libs/android-support-v4.jar b/InClass3/libs/android-support-v4.jar new file mode 100644 index 0000000..9056828 Binary files /dev/null and b/InClass3/libs/android-support-v4.jar differ diff --git a/InClass3/proguard-project.txt b/InClass3/proguard-project.txt new file mode 100644 index 0000000..f2fe155 --- /dev/null +++ b/InClass3/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/InClass3/project.properties b/InClass3/project.properties new file mode 100644 index 0000000..4ab1256 --- /dev/null +++ b/InClass3/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/InClass3/res/drawable-hdpi/ic_launcher.png b/InClass3/res/drawable-hdpi/ic_launcher.png new file mode 100644 index 0000000..37adce7 Binary files /dev/null and b/InClass3/res/drawable-hdpi/ic_launcher.png differ diff --git a/InClass3/res/drawable-mdpi/ic_launcher.png b/InClass3/res/drawable-mdpi/ic_launcher.png new file mode 100644 index 0000000..9e5bcef Binary files /dev/null and b/InClass3/res/drawable-mdpi/ic_launcher.png differ diff --git a/InClass3/res/drawable-xhdpi/ic_launcher.png b/InClass3/res/drawable-xhdpi/ic_launcher.png new file mode 100644 index 0000000..4c1bf98 Binary files /dev/null and b/InClass3/res/drawable-xhdpi/ic_launcher.png differ diff --git a/InClass3/res/drawable-xxhdpi/ic_launcher.png b/InClass3/res/drawable-xxhdpi/ic_launcher.png new file mode 100644 index 0000000..5a56025 Binary files /dev/null and b/InClass3/res/drawable-xxhdpi/ic_launcher.png differ diff --git a/InClass3/res/layout/activity_main.xml b/InClass3/res/layout/activity_main.xml new file mode 100644 index 0000000..af9f093 --- /dev/null +++ b/InClass3/res/layout/activity_main.xml @@ -0,0 +1,16 @@ + + + + + diff --git a/InClass3/res/menu/main.xml b/InClass3/res/menu/main.xml new file mode 100644 index 0000000..d122a4b --- /dev/null +++ b/InClass3/res/menu/main.xml @@ -0,0 +1,9 @@ + + + + + diff --git a/InClass3/res/values-sw600dp/dimens.xml b/InClass3/res/values-sw600dp/dimens.xml new file mode 100644 index 0000000..c876987 --- /dev/null +++ b/InClass3/res/values-sw600dp/dimens.xml @@ -0,0 +1,8 @@ + + + + + diff --git a/InClass3/res/values-sw720dp-land/dimens.xml b/InClass3/res/values-sw720dp-land/dimens.xml new file mode 100644 index 0000000..0df3067 --- /dev/null +++ b/InClass3/res/values-sw720dp-land/dimens.xml @@ -0,0 +1,9 @@ + + + + 128dp + + diff --git a/InClass3/res/values-v11/styles.xml b/InClass3/res/values-v11/styles.xml new file mode 100644 index 0000000..e3ef53d --- /dev/null +++ b/InClass3/res/values-v11/styles.xml @@ -0,0 +1,11 @@ + + + + + + diff --git a/InClass3/res/values-v14/styles.xml b/InClass3/res/values-v14/styles.xml new file mode 100644 index 0000000..94dd245 --- /dev/null +++ b/InClass3/res/values-v14/styles.xml @@ -0,0 +1,12 @@ + + + + + + diff --git a/InClass3/res/values/dimens.xml b/InClass3/res/values/dimens.xml new file mode 100644 index 0000000..2e0e2ae --- /dev/null +++ b/InClass3/res/values/dimens.xml @@ -0,0 +1,7 @@ + + + + 16dp + 16dp + + diff --git a/InClass3/res/values/strings.xml b/InClass3/res/values/strings.xml new file mode 100644 index 0000000..1e4c196 --- /dev/null +++ b/InClass3/res/values/strings.xml @@ -0,0 +1,13 @@ + + + + InClass3 + Settings + Hello world! + + http://farm9.staticflickr.com/8083/8415182658_5402d77eeb_z.jpg + http://farm9.staticflickr.com/8218/8278724118_9a28024cf5_z.jpg + http://farm9.staticflickr.com/8196/8114421135_7c5cbb874b_z.jpg + http://farm9.staticflickr.com/8441/7882624916_5f62cb318f_z.jpg + + diff --git a/InClass3/res/values/styles.xml b/InClass3/res/values/styles.xml new file mode 100644 index 0000000..4ea9326 --- /dev/null +++ b/InClass3/res/values/styles.xml @@ -0,0 +1,20 @@ + + + + + + + + + diff --git a/InClass3/src/edu/uncc/itcs4180/hw4/MainActivity.java b/InClass3/src/edu/uncc/itcs4180/hw4/MainActivity.java new file mode 100644 index 0000000..574bc83 --- /dev/null +++ b/InClass3/src/edu/uncc/itcs4180/hw4/MainActivity.java @@ -0,0 +1,22 @@ +package edu.uncc.itcs4180.hw4; + +import android.os.Bundle; +import android.app.Activity; +import android.view.Menu; + +public class MainActivity extends Activity { + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.activity_main); + } + + @Override + public boolean onCreateOptionsMenu(Menu menu) { + // Inflate the menu; this adds items to the action bar if it is present. + getMenuInflater().inflate(R.menu.main, menu); + return true; + } + +}