From f75dd9fc395c6f50983fa10b4a6f663d03ad0f5c Mon Sep 17 00:00:00 2001 From: ricky barrette Date: Fri, 11 Feb 2011 13:16:34 +0000 Subject: [PATCH] full version of sweet dreams. --- SweetDreamsFull/.classpath | 8 + .../.codepro/deadCodeEntryPoints.xml | 12 ++ SweetDreamsFull/.project | 40 ++++ SweetDreamsFull/AndroidManifest.xml | 19 ++ SweetDreamsFull/default.properties | 12 ++ .../android/SweetDreamsFull/R.java | 195 ++++++++++++++++++ .../TwentyCodes/android/SweetDreamsLib/R.java | 195 ++++++++++++++++++ SweetDreamsFull/proguard.cfg | 34 +++ .../android/SweetDreamsFull/SweetDreams.java | 27 +++ 9 files changed, 542 insertions(+) create mode 100644 SweetDreamsFull/.classpath create mode 100644 SweetDreamsFull/.codepro/deadCodeEntryPoints.xml create mode 100644 SweetDreamsFull/.project create mode 100644 SweetDreamsFull/AndroidManifest.xml create mode 100644 SweetDreamsFull/default.properties create mode 100644 SweetDreamsFull/gen/com/TwentyCodes/android/SweetDreamsFull/R.java create mode 100644 SweetDreamsFull/gen/com/TwentyCodes/android/SweetDreamsLib/R.java create mode 100644 SweetDreamsFull/proguard.cfg create mode 100644 SweetDreamsFull/src/com/TwentyCodes/android/SweetDreamsFull/SweetDreams.java diff --git a/SweetDreamsFull/.classpath b/SweetDreamsFull/.classpath new file mode 100644 index 0000000..c487a26 --- /dev/null +++ b/SweetDreamsFull/.classpath @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/SweetDreamsFull/.codepro/deadCodeEntryPoints.xml b/SweetDreamsFull/.codepro/deadCodeEntryPoints.xml new file mode 100644 index 0000000..814d580 --- /dev/null +++ b/SweetDreamsFull/.codepro/deadCodeEntryPoints.xml @@ -0,0 +1,12 @@ + + + + + + + + \ No newline at end of file diff --git a/SweetDreamsFull/.project b/SweetDreamsFull/.project new file mode 100644 index 0000000..c96fdae --- /dev/null +++ b/SweetDreamsFull/.project @@ -0,0 +1,40 @@ + + + SweetDreamsFull + + + + + + 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 + + + + SweetDreamsLib_src + 2 + _android_SweetDreamsLib_c16ccaa5/src + + + diff --git a/SweetDreamsFull/AndroidManifest.xml b/SweetDreamsFull/AndroidManifest.xml new file mode 100644 index 0000000..7bf298f --- /dev/null +++ b/SweetDreamsFull/AndroidManifest.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SweetDreamsFull/default.properties b/SweetDreamsFull/default.properties new file mode 100644 index 0000000..9f1158a --- /dev/null +++ b/SweetDreamsFull/default.properties @@ -0,0 +1,12 @@ +# 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, +# "build.properties", and override values to adapt the script to your +# project structure. + +# Project target. +target=android-9 +android.library.reference.1=../SweetDreamsLib diff --git a/SweetDreamsFull/gen/com/TwentyCodes/android/SweetDreamsFull/R.java b/SweetDreamsFull/gen/com/TwentyCodes/android/SweetDreamsFull/R.java new file mode 100644 index 0000000..d3d6873 --- /dev/null +++ b/SweetDreamsFull/gen/com/TwentyCodes/android/SweetDreamsFull/R.java @@ -0,0 +1,195 @@ +/* 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.TwentyCodes.android.SweetDreamsFull; + +public final class R { + public static final class array { + public static final int sounds=0x7f060000; + } + public static final class attr { + /**

Must be a color value, in the form of "#rgb", "#argb", +"#rrggbb", or "#aarrggbb". +

This may also be a reference to a resource (in the form +"@[package:]type:name") or +theme attribute (in the form +"?[package:][type:]name") +containing a value of this type. + */ + public static final int backgroundColor=0x7f010000; + /**

Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character. +

This may also be a reference to a resource (in the form +"@[package:]type:name") or +theme attribute (in the form +"?[package:][type:]name") +containing a value of this type. + */ + public static final int keywords=0x7f010003; + /**

Must be a color value, in the form of "#rgb", "#argb", +"#rrggbb", or "#aarrggbb". +

This may also be a reference to a resource (in the form +"@[package:]type:name") or +theme attribute (in the form +"?[package:][type:]name") +containing a value of this type. + */ + public static final int primaryTextColor=0x7f010001; + /**

Must be an integer value, such as "100". +

This may also be a reference to a resource (in the form +"@[package:]type:name") or +theme attribute (in the form +"?[package:][type:]name") +containing a value of this type. + */ + public static final int refreshInterval=0x7f010004; + /**

Must be a color value, in the form of "#rgb", "#argb", +"#rrggbb", or "#aarrggbb". +

This may also be a reference to a resource (in the form +"@[package:]type:name") or +theme attribute (in the form +"?[package:][type:]name") +containing a value of this type. + */ + public static final int secondaryTextColor=0x7f010002; + } + public static final class drawable { + public static final int icon=0x7f020000; + public static final int pasusenormal=0x7f020001; + public static final int pause_button=0x7f020002; + public static final int pausedisabled=0x7f020003; + public static final int pausehot=0x7f020004; + public static final int pausenormalred=0x7f020005; + public static final int pausepressed=0x7f020006; + public static final int play_button=0x7f020007; + public static final int playdisabled=0x7f020008; + public static final int playhot=0x7f020009; + public static final int playnormal=0x7f02000a; + public static final int playpressed=0x7f02000b; + } + public static final class id { + public static final int ad=0x7f080004; + public static final int play_pause_button=0x7f080001; + public static final int time_left=0x7f080002; + public static final int track_title=0x7f080000; + public static final int volume=0x7f080003; + } + public static final class layout { + public static final int main=0x7f030000; + public static final int main_lite=0x7f030001; + } + public static final class raw { + public static final int ac=0x7f050000; + public static final int beach=0x7f050001; + public static final int crickets=0x7f050002; + public static final int falls=0x7f050003; + public static final int river=0x7f050004; + } + public static final class string { + public static final int app_name=0x7f070000; + public static final int app_name_lite=0x7f070001; + } + public static final class xml { + public static final int settings=0x7f040000; + } + public static final class styleable { + /** Attributes that can be used with a com_admob_android_ads_AdView. +

Includes the following attributes:

+ + + + + + + + + +
AttributeDescription
{@link #com_admob_android_ads_AdView_backgroundColor com.TwentyCodes.android.SweetDreamsFull:backgroundColor}
{@link #com_admob_android_ads_AdView_keywords com.TwentyCodes.android.SweetDreamsFull:keywords}
{@link #com_admob_android_ads_AdView_primaryTextColor com.TwentyCodes.android.SweetDreamsFull:primaryTextColor}
{@link #com_admob_android_ads_AdView_refreshInterval com.TwentyCodes.android.SweetDreamsFull:refreshInterval}
{@link #com_admob_android_ads_AdView_secondaryTextColor com.TwentyCodes.android.SweetDreamsFull:secondaryTextColor}
+ @see #com_admob_android_ads_AdView_backgroundColor + @see #com_admob_android_ads_AdView_keywords + @see #com_admob_android_ads_AdView_primaryTextColor + @see #com_admob_android_ads_AdView_refreshInterval + @see #com_admob_android_ads_AdView_secondaryTextColor + */ + public static final int[] com_admob_android_ads_AdView = { + 0x7f010000, 0x7f010001, 0x7f010002, 0x7f010003, + 0x7f010004 + }; + /** +

This symbol is the offset where the {@link com.TwentyCodes.android.SweetDreamsFull.R.attr#backgroundColor} + attribute's value can be found in the {@link #com_admob_android_ads_AdView} array. + + +

Must be a color value, in the form of "#rgb", "#argb", +"#rrggbb", or "#aarrggbb". +

This may also be a reference to a resource (in the form +"@[package:]type:name") or +theme attribute (in the form +"?[package:][type:]name") +containing a value of this type. + @attr name android:backgroundColor + */ + public static final int com_admob_android_ads_AdView_backgroundColor = 0; + /** +

This symbol is the offset where the {@link com.TwentyCodes.android.SweetDreamsFull.R.attr#keywords} + attribute's value can be found in the {@link #com_admob_android_ads_AdView} array. + + +

Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character. +

This may also be a reference to a resource (in the form +"@[package:]type:name") or +theme attribute (in the form +"?[package:][type:]name") +containing a value of this type. + @attr name android:keywords + */ + public static final int com_admob_android_ads_AdView_keywords = 3; + /** +

This symbol is the offset where the {@link com.TwentyCodes.android.SweetDreamsFull.R.attr#primaryTextColor} + attribute's value can be found in the {@link #com_admob_android_ads_AdView} array. + + +

Must be a color value, in the form of "#rgb", "#argb", +"#rrggbb", or "#aarrggbb". +

This may also be a reference to a resource (in the form +"@[package:]type:name") or +theme attribute (in the form +"?[package:][type:]name") +containing a value of this type. + @attr name android:primaryTextColor + */ + public static final int com_admob_android_ads_AdView_primaryTextColor = 1; + /** +

This symbol is the offset where the {@link com.TwentyCodes.android.SweetDreamsFull.R.attr#refreshInterval} + attribute's value can be found in the {@link #com_admob_android_ads_AdView} array. + + +

Must be an integer value, such as "100". +

This may also be a reference to a resource (in the form +"@[package:]type:name") or +theme attribute (in the form +"?[package:][type:]name") +containing a value of this type. + @attr name android:refreshInterval + */ + public static final int com_admob_android_ads_AdView_refreshInterval = 4; + /** +

This symbol is the offset where the {@link com.TwentyCodes.android.SweetDreamsFull.R.attr#secondaryTextColor} + attribute's value can be found in the {@link #com_admob_android_ads_AdView} array. + + +

Must be a color value, in the form of "#rgb", "#argb", +"#rrggbb", or "#aarrggbb". +

This may also be a reference to a resource (in the form +"@[package:]type:name") or +theme attribute (in the form +"?[package:][type:]name") +containing a value of this type. + @attr name android:secondaryTextColor + */ + public static final int com_admob_android_ads_AdView_secondaryTextColor = 2; + }; +} diff --git a/SweetDreamsFull/gen/com/TwentyCodes/android/SweetDreamsLib/R.java b/SweetDreamsFull/gen/com/TwentyCodes/android/SweetDreamsLib/R.java new file mode 100644 index 0000000..fddb6c3 --- /dev/null +++ b/SweetDreamsFull/gen/com/TwentyCodes/android/SweetDreamsLib/R.java @@ -0,0 +1,195 @@ +/* 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.TwentyCodes.android.SweetDreamsLib; + +public final class R { + public static final class array { + public static final int sounds=0x7f060000; + } + public static final class attr { + /**

Must be a color value, in the form of "#rgb", "#argb", +"#rrggbb", or "#aarrggbb". +

This may also be a reference to a resource (in the form +"@[package:]type:name") or +theme attribute (in the form +"?[package:][type:]name") +containing a value of this type. + */ + public static final int backgroundColor=0x7f010000; + /**

Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character. +

This may also be a reference to a resource (in the form +"@[package:]type:name") or +theme attribute (in the form +"?[package:][type:]name") +containing a value of this type. + */ + public static final int keywords=0x7f010003; + /**

Must be a color value, in the form of "#rgb", "#argb", +"#rrggbb", or "#aarrggbb". +

This may also be a reference to a resource (in the form +"@[package:]type:name") or +theme attribute (in the form +"?[package:][type:]name") +containing a value of this type. + */ + public static final int primaryTextColor=0x7f010001; + /**

Must be an integer value, such as "100". +

This may also be a reference to a resource (in the form +"@[package:]type:name") or +theme attribute (in the form +"?[package:][type:]name") +containing a value of this type. + */ + public static final int refreshInterval=0x7f010004; + /**

Must be a color value, in the form of "#rgb", "#argb", +"#rrggbb", or "#aarrggbb". +

This may also be a reference to a resource (in the form +"@[package:]type:name") or +theme attribute (in the form +"?[package:][type:]name") +containing a value of this type. + */ + public static final int secondaryTextColor=0x7f010002; + } + public static final class drawable { + public static final int icon=0x7f020000; + public static final int pasusenormal=0x7f020001; + public static final int pause_button=0x7f020002; + public static final int pausedisabled=0x7f020003; + public static final int pausehot=0x7f020004; + public static final int pausenormalred=0x7f020005; + public static final int pausepressed=0x7f020006; + public static final int play_button=0x7f020007; + public static final int playdisabled=0x7f020008; + public static final int playhot=0x7f020009; + public static final int playnormal=0x7f02000a; + public static final int playpressed=0x7f02000b; + } + public static final class id { + public static final int ad=0x7f080004; + public static final int play_pause_button=0x7f080001; + public static final int time_left=0x7f080002; + public static final int track_title=0x7f080000; + public static final int volume=0x7f080003; + } + public static final class layout { + public static final int main=0x7f030000; + public static final int main_lite=0x7f030001; + } + public static final class raw { + public static final int ac=0x7f050000; + public static final int beach=0x7f050001; + public static final int crickets=0x7f050002; + public static final int falls=0x7f050003; + public static final int river=0x7f050004; + } + public static final class string { + public static final int app_name=0x7f070000; + public static final int app_name_lite=0x7f070001; + } + public static final class xml { + public static final int settings=0x7f040000; + } + public static final class styleable { + /** Attributes that can be used with a com_admob_android_ads_AdView. +

Includes the following attributes:

+ + + + + + + + + +
AttributeDescription
{@link #com_admob_android_ads_AdView_backgroundColor com.TwentyCodes.android.SweetDreamsFull:backgroundColor}
{@link #com_admob_android_ads_AdView_keywords com.TwentyCodes.android.SweetDreamsFull:keywords}
{@link #com_admob_android_ads_AdView_primaryTextColor com.TwentyCodes.android.SweetDreamsFull:primaryTextColor}
{@link #com_admob_android_ads_AdView_refreshInterval com.TwentyCodes.android.SweetDreamsFull:refreshInterval}
{@link #com_admob_android_ads_AdView_secondaryTextColor com.TwentyCodes.android.SweetDreamsFull:secondaryTextColor}
+ @see #com_admob_android_ads_AdView_backgroundColor + @see #com_admob_android_ads_AdView_keywords + @see #com_admob_android_ads_AdView_primaryTextColor + @see #com_admob_android_ads_AdView_refreshInterval + @see #com_admob_android_ads_AdView_secondaryTextColor + */ + public static final int[] com_admob_android_ads_AdView = { + 0x7f010000, 0x7f010001, 0x7f010002, 0x7f010003, + 0x7f010004 + }; + /** +

This symbol is the offset where the {@link com.TwentyCodes.android.SweetDreamsFull.R.attr#backgroundColor} + attribute's value can be found in the {@link #com_admob_android_ads_AdView} array. + + +

Must be a color value, in the form of "#rgb", "#argb", +"#rrggbb", or "#aarrggbb". +

This may also be a reference to a resource (in the form +"@[package:]type:name") or +theme attribute (in the form +"?[package:][type:]name") +containing a value of this type. + @attr name android:backgroundColor + */ + public static final int com_admob_android_ads_AdView_backgroundColor = 0; + /** +

This symbol is the offset where the {@link com.TwentyCodes.android.SweetDreamsFull.R.attr#keywords} + attribute's value can be found in the {@link #com_admob_android_ads_AdView} array. + + +

Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character. +

This may also be a reference to a resource (in the form +"@[package:]type:name") or +theme attribute (in the form +"?[package:][type:]name") +containing a value of this type. + @attr name android:keywords + */ + public static final int com_admob_android_ads_AdView_keywords = 3; + /** +

This symbol is the offset where the {@link com.TwentyCodes.android.SweetDreamsFull.R.attr#primaryTextColor} + attribute's value can be found in the {@link #com_admob_android_ads_AdView} array. + + +

Must be a color value, in the form of "#rgb", "#argb", +"#rrggbb", or "#aarrggbb". +

This may also be a reference to a resource (in the form +"@[package:]type:name") or +theme attribute (in the form +"?[package:][type:]name") +containing a value of this type. + @attr name android:primaryTextColor + */ + public static final int com_admob_android_ads_AdView_primaryTextColor = 1; + /** +

This symbol is the offset where the {@link com.TwentyCodes.android.SweetDreamsFull.R.attr#refreshInterval} + attribute's value can be found in the {@link #com_admob_android_ads_AdView} array. + + +

Must be an integer value, such as "100". +

This may also be a reference to a resource (in the form +"@[package:]type:name") or +theme attribute (in the form +"?[package:][type:]name") +containing a value of this type. + @attr name android:refreshInterval + */ + public static final int com_admob_android_ads_AdView_refreshInterval = 4; + /** +

This symbol is the offset where the {@link com.TwentyCodes.android.SweetDreamsFull.R.attr#secondaryTextColor} + attribute's value can be found in the {@link #com_admob_android_ads_AdView} array. + + +

Must be a color value, in the form of "#rgb", "#argb", +"#rrggbb", or "#aarrggbb". +

This may also be a reference to a resource (in the form +"@[package:]type:name") or +theme attribute (in the form +"?[package:][type:]name") +containing a value of this type. + @attr name android:secondaryTextColor + */ + public static final int com_admob_android_ads_AdView_secondaryTextColor = 2; + }; +} diff --git a/SweetDreamsFull/proguard.cfg b/SweetDreamsFull/proguard.cfg new file mode 100644 index 0000000..8ad7d33 --- /dev/null +++ b/SweetDreamsFull/proguard.cfg @@ -0,0 +1,34 @@ +-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 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/SweetDreamsFull/src/com/TwentyCodes/android/SweetDreamsFull/SweetDreams.java b/SweetDreamsFull/src/com/TwentyCodes/android/SweetDreamsFull/SweetDreams.java new file mode 100644 index 0000000..878be7a --- /dev/null +++ b/SweetDreamsFull/src/com/TwentyCodes/android/SweetDreamsFull/SweetDreams.java @@ -0,0 +1,27 @@ +/** + * SweetDreams.java + * @date Feb 6, 2011 + * @author ricky barrette + * @author Twenty Codes, LLC + */ +package com.TwentyCodes.android.SweetDreamsFull; + +import android.os.Bundle; + +import com.TwentyCodes.android.SweetDreamsLib.SweetDreamsFull; + +/** + * Main activity + * @author ricky barrette + */ +public class SweetDreams extends SweetDreamsFull { + + /** + * Called when the activity is first created. + */ + @Override + public void onCreate(Bundle icicle){ + setContentView(R.layout.main); + super.onCreate(icicle); + } +} \ No newline at end of file