From 96c02f7bb4bc3f6b2023b9acf7cc920fb47bf1ac Mon Sep 17 00:00:00 2001 From: =Jarod Chiang Date: Sun, 5 Feb 2012 19:43:17 +0800 Subject: [PATCH] reupload --- .classpath | 8 +++ .gitignore | 1 + .project | 17 ++++++ AndroidManifest.xml | 18 ++++++ README | 1 + ant.properties | 17 ++++++ build.xml | 85 +++++++++++++++++++++++++++ gen/R.java.d | 4 ++ gen/apt/tutorial/R.java | 24 ++++++++ local.properties | 10 ++++ proguard.cfg | 40 +++++++++++++ project.properties | 11 ++++ res/layout/main.xml | 44 ++++++++++++++ res/values/strings.xml | 4 ++ src/apt/tutorial/.LunchList.java.swp | Bin 0 -> 12288 bytes src/apt/tutorial/LunchList.java | 28 +++++++++ src/apt/tutorial/Restaurant.java | 21 +++++++ 17 files changed, 333 insertions(+) create mode 100644 .classpath create mode 100644 .gitignore create mode 100644 .project create mode 100644 AndroidManifest.xml create mode 100644 README create mode 100644 ant.properties create mode 100644 build.xml create mode 100644 gen/R.java.d create mode 100644 gen/apt/tutorial/R.java create mode 100644 local.properties create mode 100644 proguard.cfg create mode 100644 project.properties create mode 100644 res/layout/main.xml create mode 100644 res/values/strings.xml create mode 100644 src/apt/tutorial/.LunchList.java.swp create mode 100644 src/apt/tutorial/LunchList.java create mode 100644 src/apt/tutorial/Restaurant.java diff --git a/.classpath b/.classpath new file mode 100644 index 0000000..f86d718 --- /dev/null +++ b/.classpath @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ba077a4 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +bin diff --git a/.project b/.project new file mode 100644 index 0000000..1c8429c --- /dev/null +++ b/.project @@ -0,0 +1,17 @@ + + + LunchList + + + + + + org.eclipse.jdt.core.javabuilder + + + + + + org.eclipse.jdt.core.javanature + + diff --git a/AndroidManifest.xml b/AndroidManifest.xml new file mode 100644 index 0000000..2dabdd5 --- /dev/null +++ b/AndroidManifest.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + diff --git a/README b/README new file mode 100644 index 0000000..4f19027 --- /dev/null +++ b/README @@ -0,0 +1 @@ +test git repos diff --git a/ant.properties b/ant.properties new file mode 100644 index 0000000..ee52d86 --- /dev/null +++ b/ant.properties @@ -0,0 +1,17 @@ +# This file is used to override default values used by the Ant build system. +# +# This file must be checked in Version Control Systems, as it is +# integral to the build system of your project. + +# This file is only used by the Ant script. + +# You can use this to override default values such as +# 'source.dir' for the location of your java source folder and +# 'out.dir' for the location of your output folder. + +# You can also use it define how the release builds are signed by declaring +# the following properties: +# 'key.store' for the location of your keystore and +# 'key.alias' for the name of the key to use. +# The password will be asked during the build when you use the 'release' target. + diff --git a/build.xml b/build.xml new file mode 100644 index 0000000..27b5567 --- /dev/null +++ b/build.xml @@ -0,0 +1,85 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gen/R.java.d b/gen/R.java.d new file mode 100644 index 0000000..126d313 --- /dev/null +++ b/gen/R.java.d @@ -0,0 +1,4 @@ +/home/chiang/workspace/LunchList/gen/apt/tutorial/R.java \ + : /home/chiang/workspace/LunchList/res/layout/main.xml \ +/home/chiang/workspace/LunchList/res/values/strings.xml \ +/home/chiang/workspace/LunchList/AndroidManifest.xml \ diff --git a/gen/apt/tutorial/R.java b/gen/apt/tutorial/R.java new file mode 100644 index 0000000..be09272 --- /dev/null +++ b/gen/apt/tutorial/R.java @@ -0,0 +1,24 @@ +/* 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 apt.tutorial; + +public final class R { + public static final class attr { + } + public static final class id { + public static final int addr=0x7f040001; + public static final int name=0x7f040000; + public static final int save=0x7f040002; + } + public static final class layout { + public static final int main=0x7f020000; + } + public static final class string { + public static final int app_name=0x7f030000; + } +} diff --git a/local.properties b/local.properties new file mode 100644 index 0000000..181c13a --- /dev/null +++ b/local.properties @@ -0,0 +1,10 @@ +# This file is automatically generated by Android Tools. +# Do not modify this file -- YOUR CHANGES WILL BE ERASED! +# +# This file must *NOT* be checked in Version Control Systems, +# as it contains information specific to your local configuration. + +# location of the SDK. This is only used by Ant +# For customization when using a Version Control System, please read the +# header note. +sdk.dir=/home/chiang/android-sdk-linux diff --git a/proguard.cfg b/proguard.cfg new file mode 100644 index 0000000..b1cdf17 --- /dev/null +++ b/proguard.cfg @@ -0,0 +1,40 @@ +-optimizationpasses 5 +-dontusemixedcaseclassnames +-dontskipnonpubliclibraryclasses +-dontpreverify +-verbose +-optimizations !code/simplification/arithmetic,!field/*,!class/merging/* + +-keep public class * extends android.app.Activity +-keep public class * extends android.app.Application +-keep public class * extends android.app.Service +-keep public class * extends android.content.BroadcastReceiver +-keep public class * extends android.content.ContentProvider +-keep public class * extends android.app.backup.BackupAgentHelper +-keep public class * extends android.preference.Preference +-keep public class com.android.vending.licensing.ILicensingService + +-keepclasseswithmembernames class * { + native ; +} + +-keepclasseswithmembers class * { + public (android.content.Context, android.util.AttributeSet); +} + +-keepclasseswithmembers class * { + public (android.content.Context, android.util.AttributeSet, int); +} + +-keepclassmembers class * extends android.app.Activity { + public void *(android.view.View); +} + +-keepclassmembers enum * { + public static **[] values(); + public static ** valueOf(java.lang.String); +} + +-keep class * implements android.os.Parcelable { + public static final android.os.Parcelable$Creator *; +} diff --git a/project.properties b/project.properties new file mode 100644 index 0000000..f049142 --- /dev/null +++ b/project.properties @@ -0,0 +1,11 @@ +# 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 use, +# "ant.properties", and override values to adapt the script to your +# project structure. + +# Project target. +target=android-10 diff --git a/res/layout/main.xml b/res/layout/main.xml new file mode 100644 index 0000000..da3c197 --- /dev/null +++ b/res/layout/main.xml @@ -0,0 +1,44 @@ + + + + + + + + + + +