OSDN Git Service

Androidクライアントサイド用eclipseプロジェクト
authorhryksbt <hryksbt@users.sourceforge.jp>
Mon, 4 Apr 2011 15:39:16 +0000 (00:39 +0900)
committerhryksbt <hryksbt@users.sourceforge.jp>
Mon, 4 Apr 2011 15:39:16 +0000 (00:39 +0900)
22 files changed:
Android/.classpath [new file with mode: 0644]
Android/.project [new file with mode: 0644]
Android/AndroidManifest.xml [new file with mode: 0644]
Android/bin/OpenSangokushi.apk [new file with mode: 0644]
Android/bin/classes.dex [new file with mode: 0644]
Android/bin/resources.ap_ [new file with mode: 0644]
Android/bin/sangokushi/dyndns/org/R$attr.class [new file with mode: 0644]
Android/bin/sangokushi/dyndns/org/R$drawable.class [new file with mode: 0644]
Android/bin/sangokushi/dyndns/org/R$id.class [new file with mode: 0644]
Android/bin/sangokushi/dyndns/org/R$layout.class [new file with mode: 0644]
Android/bin/sangokushi/dyndns/org/R$string.class [new file with mode: 0644]
Android/bin/sangokushi/dyndns/org/R.class [new file with mode: 0644]
Android/bin/sangokushi/dyndns/org/opening.class [new file with mode: 0644]
Android/default.properties [new file with mode: 0644]
Android/gen/sangokushi/dyndns/org/R.java [new file with mode: 0644]
Android/proguard.cfg [new file with mode: 0644]
Android/res/drawable-hdpi/icon.png [new file with mode: 0644]
Android/res/drawable-ldpi/icon.png [new file with mode: 0644]
Android/res/drawable-mdpi/icon.png [new file with mode: 0644]
Android/res/layout/main.xml [new file with mode: 0644]
Android/res/values/strings.xml [new file with mode: 0644]
Android/src/sangokushi/dyndns/org/opening.java [new file with mode: 0644]

diff --git a/Android/.classpath b/Android/.classpath
new file mode 100644 (file)
index 0000000..6e9239f
--- /dev/null
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<classpath>\r
+       <classpathentry kind="src" path="src"/>\r
+       <classpathentry kind="src" path="gen"/>\r
+       <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>\r
+       <classpathentry kind="output" path="bin"/>\r
+</classpath>\r
diff --git a/Android/.project b/Android/.project
new file mode 100644 (file)
index 0000000..ccbabca
--- /dev/null
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<projectDescription>\r
+       <name>OpenSangokushi</name>\r
+       <comment></comment>\r
+       <projects>\r
+       </projects>\r
+       <buildSpec>\r
+               <buildCommand>\r
+                       <name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>\r
+                       <arguments>\r
+                       </arguments>\r
+               </buildCommand>\r
+               <buildCommand>\r
+                       <name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>\r
+                       <arguments>\r
+                       </arguments>\r
+               </buildCommand>\r
+               <buildCommand>\r
+                       <name>org.eclipse.jdt.core.javabuilder</name>\r
+                       <arguments>\r
+                       </arguments>\r
+               </buildCommand>\r
+               <buildCommand>\r
+                       <name>com.android.ide.eclipse.adt.ApkBuilder</name>\r
+                       <arguments>\r
+                       </arguments>\r
+               </buildCommand>\r
+       </buildSpec>\r
+       <natures>\r
+               <nature>com.android.ide.eclipse.adt.AndroidNature</nature>\r
+               <nature>org.eclipse.jdt.core.javanature</nature>\r
+       </natures>\r
+</projectDescription>\r
diff --git a/Android/AndroidManifest.xml b/Android/AndroidManifest.xml
new file mode 100644 (file)
index 0000000..4793d34
--- /dev/null
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+      package="sangokushi.dyndns.org"
+      android:versionCode="1"
+      android:versionName="1.0">
+
+
+    <application android:icon="@drawable/icon" android:label="@string/app_name">
+        <activity android:name=".opening"
+                  android:label="@string/app_name">
+            <intent-filter>
+                <action android:name="android.intent.action.MAIN" />
+                <category android:name="android.intent.category.LAUNCHER" />
+            </intent-filter>
+        </activity>
+
+    </application>
+</manifest>
\ No newline at end of file
diff --git a/Android/bin/OpenSangokushi.apk b/Android/bin/OpenSangokushi.apk
new file mode 100644 (file)
index 0000000..1342150
Binary files /dev/null and b/Android/bin/OpenSangokushi.apk differ
diff --git a/Android/bin/classes.dex b/Android/bin/classes.dex
new file mode 100644 (file)
index 0000000..6d936ec
Binary files /dev/null and b/Android/bin/classes.dex differ
diff --git a/Android/bin/resources.ap_ b/Android/bin/resources.ap_
new file mode 100644 (file)
index 0000000..15f9a40
Binary files /dev/null and b/Android/bin/resources.ap_ differ
diff --git a/Android/bin/sangokushi/dyndns/org/R$attr.class b/Android/bin/sangokushi/dyndns/org/R$attr.class
new file mode 100644 (file)
index 0000000..3b2c9ab
Binary files /dev/null and b/Android/bin/sangokushi/dyndns/org/R$attr.class differ
diff --git a/Android/bin/sangokushi/dyndns/org/R$drawable.class b/Android/bin/sangokushi/dyndns/org/R$drawable.class
new file mode 100644 (file)
index 0000000..cf2e28d
Binary files /dev/null and b/Android/bin/sangokushi/dyndns/org/R$drawable.class differ
diff --git a/Android/bin/sangokushi/dyndns/org/R$id.class b/Android/bin/sangokushi/dyndns/org/R$id.class
new file mode 100644 (file)
index 0000000..9bb73b6
Binary files /dev/null and b/Android/bin/sangokushi/dyndns/org/R$id.class differ
diff --git a/Android/bin/sangokushi/dyndns/org/R$layout.class b/Android/bin/sangokushi/dyndns/org/R$layout.class
new file mode 100644 (file)
index 0000000..2d247d2
Binary files /dev/null and b/Android/bin/sangokushi/dyndns/org/R$layout.class differ
diff --git a/Android/bin/sangokushi/dyndns/org/R$string.class b/Android/bin/sangokushi/dyndns/org/R$string.class
new file mode 100644 (file)
index 0000000..5393109
Binary files /dev/null and b/Android/bin/sangokushi/dyndns/org/R$string.class differ
diff --git a/Android/bin/sangokushi/dyndns/org/R.class b/Android/bin/sangokushi/dyndns/org/R.class
new file mode 100644 (file)
index 0000000..6b28a01
Binary files /dev/null and b/Android/bin/sangokushi/dyndns/org/R.class differ
diff --git a/Android/bin/sangokushi/dyndns/org/opening.class b/Android/bin/sangokushi/dyndns/org/opening.class
new file mode 100644 (file)
index 0000000..19c89ae
Binary files /dev/null and b/Android/bin/sangokushi/dyndns/org/opening.class differ
diff --git a/Android/default.properties b/Android/default.properties
new file mode 100644 (file)
index 0000000..b74c488
--- /dev/null
@@ -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,
+# "build.properties", and override values to adapt the script to your
+# project structure.
+
+# Project target.
+target=android-4
diff --git a/Android/gen/sangokushi/dyndns/org/R.java b/Android/gen/sangokushi/dyndns/org/R.java
new file mode 100644 (file)
index 0000000..753c78e
--- /dev/null
@@ -0,0 +1,27 @@
+/* AUTO-GENERATED FILE.  DO NOT MODIFY.\r
+ *\r
+ * This class was automatically generated by the\r
+ * aapt tool from the resource data it found.  It\r
+ * should not be modified by hand.\r
+ */\r
+\r
+package sangokushi.dyndns.org;\r
+\r
+public final class R {\r
+    public static final class attr {\r
+    }\r
+    public static final class drawable {\r
+        public static final int icon=0x7f020000;\r
+    }\r
+    public static final class id {\r
+        public static final int button1=0x7f050000;\r
+    }\r
+    public static final class layout {\r
+        public static final int main=0x7f030000;\r
+    }\r
+    public static final class string {\r
+        public static final int app_name=0x7f040001;\r
+        public static final int hello=0x7f040000;\r
+        public static final int start_button=0x7f040002;\r
+    }\r
+}\r
diff --git a/Android/proguard.cfg b/Android/proguard.cfg
new file mode 100644 (file)
index 0000000..12dd039
--- /dev/null
@@ -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 <methods>;
+}
+
+-keepclasseswithmembernames class * {
+    public <init>(android.content.Context, android.util.AttributeSet);
+}
+
+-keepclasseswithmembernames class * {
+    public <init>(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/Android/res/drawable-hdpi/icon.png b/Android/res/drawable-hdpi/icon.png
new file mode 100644 (file)
index 0000000..8074c4c
Binary files /dev/null and b/Android/res/drawable-hdpi/icon.png differ
diff --git a/Android/res/drawable-ldpi/icon.png b/Android/res/drawable-ldpi/icon.png
new file mode 100644 (file)
index 0000000..1095584
Binary files /dev/null and b/Android/res/drawable-ldpi/icon.png differ
diff --git a/Android/res/drawable-mdpi/icon.png b/Android/res/drawable-mdpi/icon.png
new file mode 100644 (file)
index 0000000..a07c69f
Binary files /dev/null and b/Android/res/drawable-mdpi/icon.png differ
diff --git a/Android/res/layout/main.xml b/Android/res/layout/main.xml
new file mode 100644 (file)
index 0000000..8d6c88b
--- /dev/null
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+    android:orientation="vertical"
+    android:layout_width="fill_parent"
+    android:layout_height="fill_parent"
+    android:layout_gravity="center_vertical">
+<TextView  
+    android:layout_width="fill_parent" 
+    android:layout_height="wrap_content" 
+    android:text="@string/hello"
+    />
+<Button android:text="@string/start_button" android:id="@+id/button1" android:layout_gravity="center_horizontal" android:layout_height="wrap_content" android:layout_width="wrap_content"></Button>
+</LinearLayout>
diff --git a/Android/res/values/strings.xml b/Android/res/values/strings.xml
new file mode 100644 (file)
index 0000000..d1085f0
--- /dev/null
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+    <string name="hello">Hello World, opening!</string>
+    <string name="app_name">OpenSangokushi</string>
+    <string name="start_button">開始</string>
+</resources>
diff --git a/Android/src/sangokushi/dyndns/org/opening.java b/Android/src/sangokushi/dyndns/org/opening.java
new file mode 100644 (file)
index 0000000..6340656
--- /dev/null
@@ -0,0 +1,13 @@
+package sangokushi.dyndns.org;
+
+import android.app.Activity;
+import android.os.Bundle;
+
+public class opening extends Activity {
+    /** Called when the activity is first created. */
+    @Override
+    public void onCreate(Bundle savedInstanceState) {
+        super.onCreate(savedInstanceState);
+        setContentView(R.layout.main);
+    }
+}
\ No newline at end of file