diff --git a/.classpath b/.classpath new file mode 100644 index 0000000..5176974 --- /dev/null +++ b/.classpath @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/.project b/.project new file mode 100644 index 0000000..bf0bb80 --- /dev/null +++ b/.project @@ -0,0 +1,33 @@ + + + TrineaAndroidDemo + + + + + + 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/AndroidManifest.xml b/AndroidManifest.xml new file mode 100644 index 0000000..c5a8e6c --- /dev/null +++ b/AndroidManifest.xml @@ -0,0 +1,101 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/proguard.cfg b/proguard.cfg new file mode 100644 index 0000000..12dd039 --- /dev/null +++ b/proguard.cfg @@ -0,0 +1,36 @@ +-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 ; +} + +-keepclasseswithmembernames class * { + public (android.content.Context, android.util.AttributeSet); +} + +-keepclasseswithmembernames class * { + public (android.content.Context, android.util.AttributeSet, int); +} + +-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..ec74fa2 --- /dev/null +++ b/project.properties @@ -0,0 +1,15 @@ +# 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-14 +android.library.reference.1=../trinea-android-common diff --git a/res/drawable-hdpi/icon.png b/res/drawable-hdpi/icon.png new file mode 100644 index 0000000..3db76f6 Binary files /dev/null and b/res/drawable-hdpi/icon.png differ diff --git a/res/drawable-hdpi/icon_stop.png b/res/drawable-hdpi/icon_stop.png new file mode 100644 index 0000000..d2fbdc4 Binary files /dev/null and b/res/drawable-hdpi/icon_stop.png differ diff --git a/res/drawable-ldpi/icon.png b/res/drawable-ldpi/icon.png new file mode 100644 index 0000000..6b92542 Binary files /dev/null and b/res/drawable-ldpi/icon.png differ diff --git a/res/drawable-ldpi/icon_stop.png b/res/drawable-ldpi/icon_stop.png new file mode 100644 index 0000000..d2fbdc4 Binary files /dev/null and b/res/drawable-ldpi/icon_stop.png differ diff --git a/res/drawable-mdpi/icon.png b/res/drawable-mdpi/icon.png new file mode 100644 index 0000000..6b92542 Binary files /dev/null and b/res/drawable-mdpi/icon.png differ diff --git a/res/drawable-mdpi/icon_stop.png b/res/drawable-mdpi/icon_stop.png new file mode 100644 index 0000000..d2fbdc4 Binary files /dev/null and b/res/drawable-mdpi/icon_stop.png differ diff --git a/res/drawable-mdpi/image1.jpg b/res/drawable-mdpi/image1.jpg new file mode 100644 index 0000000..cd0ced6 Binary files /dev/null and b/res/drawable-mdpi/image1.jpg differ diff --git a/res/drawable-mdpi/image2.jpg b/res/drawable-mdpi/image2.jpg new file mode 100644 index 0000000..b7c0706 Binary files /dev/null and b/res/drawable-mdpi/image2.jpg differ diff --git a/res/drawable-mdpi/image3.jpg b/res/drawable-mdpi/image3.jpg new file mode 100644 index 0000000..0dec967 Binary files /dev/null and b/res/drawable-mdpi/image3.jpg differ diff --git a/res/drawable/button_press.9.png b/res/drawable/button_press.9.png new file mode 100644 index 0000000..af917e5 Binary files /dev/null and b/res/drawable/button_press.9.png differ diff --git a/res/drawable/button_press_selector.xml b/res/drawable/button_press_selector.xml new file mode 100644 index 0000000..8404068 --- /dev/null +++ b/res/drawable/button_press_selector.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/res/drawable/jpg1.jpg b/res/drawable/jpg1.jpg new file mode 100644 index 0000000..7925e7a Binary files /dev/null and b/res/drawable/jpg1.jpg differ diff --git a/res/drawable/jpg2.jpg b/res/drawable/jpg2.jpg new file mode 100644 index 0000000..a5fa10c Binary files /dev/null and b/res/drawable/jpg2.jpg differ diff --git a/res/drawable/jpg3.jpg b/res/drawable/jpg3.jpg new file mode 100644 index 0000000..45db28f Binary files /dev/null and b/res/drawable/jpg3.jpg differ diff --git a/res/drawable/jpg4.jpg b/res/drawable/jpg4.jpg new file mode 100644 index 0000000..b9ec507 Binary files /dev/null and b/res/drawable/jpg4.jpg differ diff --git a/res/layout/border_scroll_view_demo.xml b/res/layout/border_scroll_view_demo.xml new file mode 100644 index 0000000..f194e73 --- /dev/null +++ b/res/layout/border_scroll_view_demo.xml @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/res/layout/broadcast_receiver_demo.xml b/res/layout/broadcast_receiver_demo.xml new file mode 100644 index 0000000..b9eef86 --- /dev/null +++ b/res/layout/broadcast_receiver_demo.xml @@ -0,0 +1,46 @@ + + + + + + + +