Skip to content

Commit 8468b63

Browse files
author
James Wang
committed
first commit
0 parents  commit 8468b63

File tree

106 files changed

+3933
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+3933
-0
lines changed

.classpath

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
4+
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
5+
<classpathentry kind="src" path="src"/>
6+
<classpathentry kind="src" path="gen"/>
7+
<classpathentry kind="output" path="bin/classes"/>
8+
</classpath>

.project

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>Monkey Rescue</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
<buildCommand>
19+
<name>org.eclipse.jdt.core.javabuilder</name>
20+
<arguments>
21+
</arguments>
22+
</buildCommand>
23+
<buildCommand>
24+
<name>com.android.ide.eclipse.adt.ApkBuilder</name>
25+
<arguments>
26+
</arguments>
27+
</buildCommand>
28+
</buildSpec>
29+
<natures>
30+
<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
31+
<nature>org.eclipse.jdt.core.javanature</nature>
32+
</natures>
33+
</projectDescription>

.settings/org.eclipse.jdt.core.prefs

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#Mon Feb 13 22:54:16 EST 2012
2+
eclipse.preferences.version=1
3+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
4+
org.eclipse.jdt.core.compiler.compliance=1.5
5+
org.eclipse.jdt.core.compiler.source=1.5

AndroidManifest.xml

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
package="com.junyangwang.monkeyrescue"
4+
android:versionCode="9"
5+
android:versionName="0.0.9" >
6+
7+
<uses-sdk android:minSdkVersion="7" />
8+
<uses-permission android:name="android.permission.INTERNET"/>
9+
10+
<application
11+
android:icon="@drawable/ic_launcher"
12+
android:label="@string/app_name"
13+
android:theme="@android:style/Theme.Light.NoTitleBar.Fullscreen"
14+
android:screenOrientation= "landscape" >
15+
<activity
16+
android:name=".MonkeyRescue"
17+
android:label="@string/app_name"
18+
android:theme="@android:style/Theme.Light.NoTitleBar.Fullscreen"
19+
android:screenOrientation= "landscape" >"
20+
<intent-filter>
21+
<action android:name="android.intent.action.MAIN" />
22+
<category android:name="android.intent.category.LAUNCHER" />
23+
</intent-filter>
24+
</activity>
25+
<activity
26+
android:name="com.junyangwang.monkeyrescue.Game"
27+
android:label="@string/app_name"
28+
android:theme="@android:style/Theme.Light.NoTitleBar.Fullscreen"
29+
android:screenOrientation= "landscape" >
30+
<intent-filter>
31+
<action android:name="android.intent.action.GAME" />
32+
<category android:name="android.intent.category.DEFAULT" />
33+
</intent-filter>
34+
</activity>
35+
36+
</application>
37+
38+
</manifest>

bin/AndroidManifest.xml

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
package="com.junyangwang.monkeyrescue"
4+
android:versionCode="9"
5+
android:versionName="0.0.9" >
6+
7+
<uses-sdk android:minSdkVersion="7" />
8+
<uses-permission android:name="android.permission.INTERNET"/>
9+
10+
<application
11+
android:icon="@drawable/ic_launcher"
12+
android:label="@string/app_name"
13+
android:theme="@android:style/Theme.Light.NoTitleBar.Fullscreen"
14+
android:screenOrientation= "landscape" >
15+
<activity
16+
android:name=".MonkeyRescue"
17+
android:label="@string/app_name"
18+
android:theme="@android:style/Theme.Light.NoTitleBar.Fullscreen"
19+
android:screenOrientation= "landscape" >"
20+
<intent-filter>
21+
<action android:name="android.intent.action.MAIN" />
22+
<category android:name="android.intent.category.LAUNCHER" />
23+
</intent-filter>
24+
</activity>
25+
<activity
26+
android:name="com.junyangwang.monkeyrescue.Game"
27+
android:label="@string/app_name"
28+
android:theme="@android:style/Theme.Light.NoTitleBar.Fullscreen"
29+
android:screenOrientation= "landscape" >
30+
<intent-filter>
31+
<action android:name="android.intent.action.GAME" />
32+
<category android:name="android.intent.category.DEFAULT" />
33+
</intent-filter>
34+
</activity>
35+
36+
</application>
37+
38+
</manifest>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
786 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
12.3 KB
Binary file not shown.
Binary file not shown.
1019 Bytes
Binary file not shown.
Binary file not shown.
4.96 KB
Binary file not shown.
7.77 KB
Binary file not shown.
1003 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
622 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
601 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

bin/jarlist.cache

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# cache for current jar dependecy. DO NOT EDIT.
2+
# format is <lastModified> <length> <SHA-1> <path>
3+
# Encoding is UTF-8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/** Automatically generated file. DO NOT MODIFY */
2+
package com.junyangwang.monkeyrescue;
3+
4+
public final class BuildConfig {
5+
public final static boolean DEBUG = true;
6+
}
+62
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
/* AUTO-GENERATED FILE. DO NOT MODIFY.
2+
*
3+
* This class was automatically generated by the
4+
* aapt tool from the resource data it found. It
5+
* should not be modified by hand.
6+
*/
7+
8+
package com.junyangwang.monkeyrescue;
9+
10+
public final class R {
11+
public static final class attr {
12+
}
13+
public static final class drawable {
14+
public static final int banana=0x7f020000;
15+
public static final int banana2=0x7f020001;
16+
public static final int banana3=0x7f020002;
17+
public static final int banana4=0x7f020003;
18+
public static final int bg=0x7f020004;
19+
public static final int bg2=0x7f020005;
20+
public static final int bg3=0x7f020006;
21+
public static final int bg4=0x7f020007;
22+
public static final int blood1=0x7f020008;
23+
public static final int bullet=0x7f020009;
24+
public static final int close=0x7f02000a;
25+
public static final int crocodile=0x7f02000b;
26+
public static final int crocodile1=0x7f02000c;
27+
public static final int crocodile2=0x7f02000d;
28+
public static final int crocodile3=0x7f02000e;
29+
public static final int crocodile4=0x7f02000f;
30+
public static final int home=0x7f020010;
31+
public static final int ic_launcher=0x7f020011;
32+
public static final int laugh2=0x7f020012;
33+
public static final int lion=0x7f020013;
34+
public static final int marker=0x7f020014;
35+
public static final int marker3=0x7f020015;
36+
public static final int monkey=0x7f020016;
37+
public static final int monkey1=0x7f020017;
38+
public static final int monkey2=0x7f020018;
39+
public static final int monkey3=0x7f020019;
40+
public static final int monkeybg=0x7f02001a;
41+
public static final int monkeybg2=0x7f02001b;
42+
public static final int shark=0x7f02001c;
43+
public static final int superlion=0x7f02001d;
44+
}
45+
public static final class id {
46+
public static final int bDeleteAllLevels=0x7f050005;
47+
public static final int bStart=0x7f050006;
48+
public static final int tableLayout1=0x7f050000;
49+
public static final int tableRow1=0x7f050001;
50+
public static final int tableRow2=0x7f050002;
51+
public static final int tableRow3=0x7f050003;
52+
public static final int tableRow4=0x7f050004;
53+
}
54+
public static final class layout {
55+
public static final int game=0x7f030000;
56+
public static final int main=0x7f030001;
57+
}
58+
public static final class string {
59+
public static final int app_name=0x7f040001;
60+
public static final int hello=0x7f040000;
61+
}
62+
}

proguard.cfg

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
-optimizationpasses 5
2+
-dontusemixedcaseclassnames
3+
-dontskipnonpubliclibraryclasses
4+
-dontpreverify
5+
-verbose
6+
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
7+
8+
-keep public class * extends android.app.Activity
9+
-keep public class * extends android.app.Application
10+
-keep public class * extends android.app.Service
11+
-keep public class * extends android.content.BroadcastReceiver
12+
-keep public class * extends android.content.ContentProvider
13+
-keep public class * extends android.app.backup.BackupAgentHelper
14+
-keep public class * extends android.preference.Preference
15+
-keep public class com.android.vending.licensing.ILicensingService
16+
17+
-keepclasseswithmembernames class * {
18+
native <methods>;
19+
}
20+
21+
-keepclasseswithmembers class * {
22+
public <init>(android.content.Context, android.util.AttributeSet);
23+
}
24+
25+
-keepclasseswithmembers class * {
26+
public <init>(android.content.Context, android.util.AttributeSet, int);
27+
}
28+
29+
-keepclassmembers class * extends android.app.Activity {
30+
public void *(android.view.View);
31+
}
32+
33+
-keepclassmembers enum * {
34+
public static **[] values();
35+
public static ** valueOf(java.lang.String);
36+
}
37+
38+
-keep class * implements android.os.Parcelable {
39+
public static final android.os.Parcelable$Creator *;
40+
}

project.properties

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# This file is automatically generated by Android Tools.
2+
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
3+
#
4+
# This file must be checked in Version Control Systems.
5+
#
6+
# To customize properties used by the Ant build system use,
7+
# "ant.properties", and override values to adapt the script to your
8+
# project structure.
9+
10+
# Project target.
11+
target=android-7
12+
android.library.reference.1=../../facebook-android-sdk/facebook

res/drawable-hdpi/banana.png

523 Bytes

res/drawable-hdpi/banana2.png

584 Bytes

res/drawable-hdpi/banana3.png

622 Bytes

res/drawable-hdpi/banana4.png

618 Bytes

res/drawable-hdpi/bg.png

298 KB

res/drawable-hdpi/bg2.png

90.1 KB

res/drawable-hdpi/bg3.png

169 KB

res/drawable-hdpi/bg4.png

167 KB

res/drawable-hdpi/blood1.png

6.49 KB

res/drawable-hdpi/bullet.png

1.09 KB

res/drawable-hdpi/close.png

4.67 KB

res/drawable-hdpi/crocodile.png

4.8 KB

res/drawable-hdpi/crocodile1.png

9.63 KB

res/drawable-hdpi/crocodile2.png

10.4 KB

res/drawable-hdpi/crocodile3.png

10.3 KB

res/drawable-hdpi/crocodile4.png

10.2 KB

res/drawable-hdpi/home.png

3.46 KB

res/drawable-hdpi/ic_launcher.png

8.68 KB

res/drawable-hdpi/laugh2.png

3.72 KB

res/drawable-hdpi/lion.png

6.53 KB

res/drawable-hdpi/marker.png

1.31 KB

res/drawable-hdpi/marker3.png

1.32 KB

res/drawable-hdpi/monkey.png

4.85 KB

res/drawable-hdpi/monkey1.png

2.88 KB

res/drawable-hdpi/monkey2.png

4.43 KB

res/drawable-hdpi/monkey3.png

4.01 KB

res/drawable-hdpi/monkeybg.png

71.1 KB

res/drawable-hdpi/monkeybg2.png

117 KB

res/drawable-hdpi/shark.png

5 KB

res/drawable-hdpi/superlion.png

6.1 KB

res/drawable-ldpi/ic_launcher.png

3.42 KB

res/drawable-mdpi/ic_launcher.png

5.07 KB

res/layout/game.xml

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3+
android:layout_width="fill_parent"
4+
android:layout_height="fill_parent"
5+
android:orientation="vertical"
6+
android:background="@drawable/monkeybg" >
7+
8+
<TableLayout
9+
android:id="@+id/tableLayout1"
10+
android:layout_width="fill_parent"
11+
android:layout_height="wrap_content" >
12+
13+
<TableRow
14+
android:id="@+id/tableRow1"
15+
android:layout_width="wrap_content"
16+
android:layout_height="wrap_content" >
17+
</TableRow>
18+
19+
<TableRow
20+
android:id="@+id/tableRow2"
21+
android:layout_width="wrap_content"
22+
android:layout_height="wrap_content" >
23+
</TableRow>
24+
25+
<TableRow
26+
android:id="@+id/tableRow3"
27+
android:layout_width="wrap_content"
28+
android:layout_height="wrap_content" >
29+
</TableRow>
30+
31+
<TableRow
32+
android:id="@+id/tableRow4"
33+
android:layout_width="wrap_content"
34+
android:layout_height="wrap_content" >
35+
</TableRow>
36+
</TableLayout>
37+
38+
<Button
39+
android:id="@+id/bDeleteAllLevels"
40+
android:layout_width="wrap_content"
41+
android:layout_height="wrap_content"
42+
android:layout_gravity="center"
43+
android:text="Delete All Saved Levels"
44+
android:layout_marginTop="10dp" />
45+
46+
</LinearLayout>

res/layout/main.xml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3+
android:layout_width="fill_parent"
4+
android:layout_height="fill_parent"
5+
android:orientation="vertical"
6+
android:background="@drawable/monkeybg" >
7+
8+
<TextView
9+
android:layout_width="wrap_content"
10+
android:layout_height="wrap_content"
11+
android:layout_gravity="center"
12+
android:text="Monkey Rescue"
13+
android:textAppearance="?android:attr/textAppearanceLarge"
14+
android:paddingTop="40dp"
15+
android:paddingBottom="30dp" />
16+
17+
<Button
18+
android:id="@+id/bStart"
19+
android:layout_width="200dp"
20+
android:layout_height="wrap_content"
21+
android:layout_gravity="center"
22+
android:text="Start Game" />
23+
24+
<TextView
25+
android:layout_width="wrap_content"
26+
android:layout_height="wrap_content"
27+
android:layout_gravity="center"
28+
android:text="by SLEEPLisNight!"
29+
android:textAppearance="?android:attr/textAppearanceMedium"
30+
android:layout_marginTop="130dp"
31+
android:layout_marginLeft="160dp" />
32+
33+
</LinearLayout>

res/values/strings.xml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources>
3+
4+
<string name="hello">Hello World, JamesSavePrincessActivity!</string>
5+
<string name="app_name">Monkey Rescue</string>
6+
7+
</resources>

0 commit comments

Comments
 (0)