Commits

myuhe  committed 605dcec

パッケージ名の変更

  • Participants
  • Parent commits 7d7ecfc

Comments (0)

Files changed (48)

+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry kind="src" path="src"/>
+	<classpathentry kind="src" path="gen"/>
+	<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
+	<classpathentry kind="output" path="bin"/>
+</classpath>
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>Androizou</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>com.android.ide.eclipse.adt.ApkBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+	</natures>
+</projectDescription>

File AndroidManifest.xml

+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+      package="sheephead.homelinux.org.androizou"
+      android:versionCode="1"
+      android:versionName="1.0">
+    <application android:icon="@drawable/icon" android:label="@string/app_name">
+        <activity android:name=".MainAndroizou"
+                  android:label="@string/app_name">
+            <intent-filter>
+                <action android:name="android.intent.action.MAIN" />
+                <category android:name="android.intent.category.LAUNCHER" />
+            </intent-filter>
+        </activity>
+
+    
+<activity android:name="SetID"></activity>
+</application>
+
+
+</manifest> 

File Androizou/.classpath

-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
-	<classpathentry kind="src" path="src"/>
-	<classpathentry kind="src" path="gen"/>
-	<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
-	<classpathentry kind="output" path="bin"/>
-</classpath>

File Androizou/.project

-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
-	<name>Androizou</name>
-	<comment></comment>
-	<projects>
-	</projects>
-	<buildSpec>
-		<buildCommand>
-			<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
-			<arguments>
-			</arguments>
-		</buildCommand>
-		<buildCommand>
-			<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
-			<arguments>
-			</arguments>
-		</buildCommand>
-		<buildCommand>
-			<name>org.eclipse.jdt.core.javabuilder</name>
-			<arguments>
-			</arguments>
-		</buildCommand>
-		<buildCommand>
-			<name>com.android.ide.eclipse.adt.ApkBuilder</name>
-			<arguments>
-			</arguments>
-		</buildCommand>
-	</buildSpec>
-	<natures>
-		<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
-		<nature>org.eclipse.jdt.core.javanature</nature>
-	</natures>
-</projectDescription>

File Androizou/AndroidManifest.xml

-<?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns:android="http://schemas.android.com/apk/res/android"
-      package="sheephead.homelinux.org.androizou"
-      android:versionCode="1"
-      android:versionName="1.0">
-    <application android:icon="@drawable/icon" android:label="@string/app_name">
-        <activity android:name=".MainAndroizou"
-                  android:label="@string/app_name">
-            <intent-filter>
-                <action android:name="android.intent.action.MAIN" />
-                <category android:name="android.intent.category.LAUNCHER" />
-            </intent-filter>
-        </activity>
-
-    
-<activity android:name="SetID"></activity>
-</application>
-
-
-</manifest> 

File Androizou/bin/Androizou.apk

Binary file removed.

File Androizou/bin/classes.dex

Binary file removed.

File Androizou/bin/resources.ap_

Binary file removed.

File Androizou/bin/sheephead/homelinux/org/androizou/MainAndroizou.class

Binary file removed.

File Androizou/bin/sheephead/homelinux/org/androizou/R$attr.class

Binary file removed.

File Androizou/bin/sheephead/homelinux/org/androizou/R$drawable.class

Binary file removed.

File Androizou/bin/sheephead/homelinux/org/androizou/R$id.class

Binary file removed.

File Androizou/bin/sheephead/homelinux/org/androizou/R$layout.class

Binary file removed.

File Androizou/bin/sheephead/homelinux/org/androizou/R$string.class

Binary file removed.

File Androizou/bin/sheephead/homelinux/org/androizou/R.class

Binary file removed.

File Androizou/bin/sheephead/homelinux/org/androizou/SetID.class

Binary file removed.

File Androizou/default.properties

-# 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.
-
-# Indicates whether an apk should be generated for each density.
-split.density=false
-# Project target.
-target=android-7

File Androizou/gen/sheephead/homelinux/org/androizou/R.java

-/* 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 sheephead.homelinux.org.androizou;
-
-public final class R {
-    public static final class attr {
-    }
-    public static final class drawable {
-        public static final int icon=0x7f020000;
-    }
-    public static final class id {
-        public static final int widget28=0x7f050002;
-        public static final int widget29=0x7f050000;
-        public static final int widget30=0x7f050003;
-        public static final int widget31=0x7f050006;
-        public static final int widget32=0x7f050004;
-        public static final int widget33=0x7f050007;
-        public static final int widget34=0x7f050005;
-        public static final int widget35=0x7f050008;
-        public static final int widget36=0x7f050001;
-    }
-    public static final class layout {
-        public static final int main=0x7f030000;
-        public static final int setid=0x7f030001;
-    }
-    public static final class string {
-        public static final int app_name=0x7f040001;
-        public static final int button_name=0x7f040004;
-        public static final int hello=0x7f040000;
-        public static final int pass_name=0x7f040003;
-        public static final int user_name=0x7f040002;
-    }
-}

File Androizou/res/drawable-hdpi/icon.png

Removed
Old image

File Androizou/res/drawable-ldpi/icon.png

Removed
Old image

File Androizou/res/drawable-mdpi/icon.png

Removed
Old image

File Androizou/res/layout/main.xml

-<?xml version="1.0" encoding="utf-8"?>
-<RelativeLayout
-android:id="@+id/widget29"
-android:layout_width="fill_parent"
-android:layout_height="fill_parent"
-xmlns:android="http://schemas.android.com/apk/res/android"
->
-<Button
-android:id="@+id/widget36"
-android:layout_width="fill_parent"
-android:layout_height="wrap_content"
-android:layout_below="@+id/widget28"
-android:layout_alignParentLeft="true"
-android:text="@string/button_name">
-</Button>
-<TableLayout
-android:id="@+id/widget28"
-android:layout_width="fill_parent"
-android:layout_height="wrap_content"
-android:orientation="vertical"
-android:stretchColumns="1"
-android:layout_alignParentTop="true"
-android:layout_alignParentLeft="true"
->
-<TableRow
-android:id="@+id/widget30"
-android:layout_width="fill_parent"
-android:layout_height="wrap_content"
-android:orientation="horizontal"
->
-<TextView
-android:id="@+id/widget32"
-android:layout_width="wrap_content"
-android:layout_height="wrap_content"
-android:text="@string/user_name"
->
-</TextView>
-<EditText
-android:id="@+id/widget34"
-android:layout_width="wrap_content"
-android:layout_height="wrap_content"
-android:textSize="18sp"
->
-</EditText>
-</TableRow>
-<TableRow
-android:id="@+id/widget31"
-android:layout_width="fill_parent"
-android:layout_height="wrap_content"
-android:orientation="horizontal"
->
-<TextView
-android:id="@+id/widget33"
-android:layout_width="wrap_content"
-android:layout_height="wrap_content"
-android:text="@string/pass_name"
->
-</TextView>
-<EditText
-android:id="@+id/widget35"
-android:layout_width="wrap_content"
-android:layout_height="wrap_content"
-android:textSize="18sp"
-android:password="true"
->
-</EditText>
-</TableRow>
-</TableLayout>
-</RelativeLayout>

File Androizou/res/layout/setid.xml

-<?xml version="1.0" encoding="utf-8"?>
-<RelativeLayout
-android:id="@+id/widget29"
-android:layout_width="fill_parent"
-android:layout_height="fill_parent"
-xmlns:android="http://schemas.android.com/apk/res/android"
->
-<Button
-android:id="@+id/widget36"
-android:layout_width="fill_parent"
-android:layout_height="wrap_content"
-android:layout_below="@+id/widget28"
-android:layout_alignParentLeft="true"
-android:text="@string/button_name">
-</Button>
-<TableLayout
-android:id="@+id/widget28"
-android:layout_width="fill_parent"
-android:layout_height="wrap_content"
-android:orientation="vertical"
-android:stretchColumns="1"
-android:layout_alignParentTop="true"
-android:layout_alignParentLeft="true"
->
-<TableRow
-android:id="@+id/widget30"
-android:layout_width="fill_parent"
-android:layout_height="wrap_content"
-android:orientation="horizontal"
->
-<TextView
-android:id="@+id/widget32"
-android:layout_width="wrap_content"
-android:layout_height="wrap_content"
-android:text="@string/user_name"
->
-</TextView>
-<EditText
-android:id="@+id/widget34"
-android:layout_width="wrap_content"
-android:layout_height="wrap_content"
-android:textSize="18sp"
->
-</EditText>
-</TableRow>
-<TableRow
-android:id="@+id/widget31"
-android:layout_width="fill_parent"
-android:layout_height="wrap_content"
-android:orientation="horizontal"
->
-<TextView
-android:id="@+id/widget33"
-android:layout_width="wrap_content"
-android:layout_height="wrap_content"
-android:text="@string/pass_name"
->
-</TextView>
-<EditText
-android:id="@+id/widget35"
-android:layout_width="wrap_content"
-android:layout_height="wrap_content"
-android:textSize="18sp"
-android:password="true"
->
-</EditText>
-</TableRow>
-</TableLayout>
-</RelativeLayout>

File Androizou/res/values/strings.xml

-<?xml version="1.0" encoding="utf-8"?>
-<resources>
-    <string name="hello">Androizou</string>
-    <string name="app_name">Androizou</string>
-    <string name="user_name">user</string>
-    <string name="pass_name">pass</string>
-	<string name="button_name">login</string>
-</resources>

File Androizou/src/sheephead/homelinux/org/androizou/MainAndroizou.java

-package sheephead.homelinux.org.androizou;
-
-import android.app.Activity;
-import android.content.ActivityNotFoundException;
-import android.content.Intent;
-import android.os.Bundle;
-import android.widget.Toast;
-
-public class MainAndroizou extends Activity {
-    /** Called when the activity is first created. */
-    @Override
-    public void onCreate(Bundle savedInstanceState) {
-        super.onCreate(savedInstanceState);
-        setContentView(R.layout.main);
-        GoSetTwitterIDAndPassActivity();
-    }
-    	/**
-	 * TwitterのIDとPassを設定する
-	 * @param bCreate
-	 * 初回起動時はtrueを指定
-	 */
-//	private void SetTwitterIDAndPass( boolean bCreate){
-//		updateButton.setClickable(false);
-//		reloadButton.setClickable(false);
-//		// プリファレンスからID/Passを取得
-//		SharedPreferences preferences = getSharedPreferences( getString(R.string.preferences_name), MODE_PRIVATE);
-//		strid = preferences.getString( getString(R.string.preferences_id), "");
-//		strpass = preferences.getString( getString(R.string.preferences_pass), "");
-//		if(!chkid( bCreate)){
-//			return;
-//		}
-//		httpClient = new DefaultHttpClient();
-//		Credentials cred = new UsernamePasswordCredentials( strid, strpass);
-//		httpClient.getCredentialsProvider().setCredentials( new AuthScope("twitter.com", 80), cred);
-//		GetAndWriteHomeTimeLine();
-//		updateButton.setClickable(true);
-//		reloadButton.setClickable(true);
-//	}
-    
-	/**
-	 * Twitter ID/pass が設定されているかを確認
-	 * @param bCreate
-	 * 初回起動時はtrueを指定
-	 * @return
-	 * boolean値
-	 */
-//	private boolean chkid( boolean bCreate){
-		
-//		if(strid.length() == 0 || strpass.length() == 0){
-			// 初回起動時にid/passが未設定なら、設定画面を呼び出す
-//			if(bCreate){
-//				GoSetTwitterIDAndPassActivity();
-//			}
-//			return false;
-//		}
-//		return true;
-//				return bCreate;
-//	}
-	/**
-	 *  Twitter ID/pass を設定するActivityへ移動
-	 */
-	private void GoSetTwitterIDAndPassActivity(){
-		try{
-			Intent intent = new Intent(MainAndroizou.this, SetID.class);
-			startActivityForResult(intent, 0);
-		} catch( ActivityNotFoundException e){
-			Toast.makeText( MainAndroizou.this, "起動先のActivityが見つかりません", Toast.LENGTH_LONG).show();
-		}
-	}
-}

File Androizou/src/sheephead/homelinux/org/androizou/SetID.java

-package sheephead.homelinux.org.androizou;
-
-import android.app.Activity;
-import android.os.Bundle;
-
-public class SetID extends Activity {
-    /** Called when the activity is first created. */
-    @Override
-    public void onCreate(Bundle savedInstanceState) {
-        super.onCreate(savedInstanceState);
-        setContentView(R.layout.main);
-    }
-}

File bin/Androizou.apk

Binary file added.

File bin/classes.dex

Binary file added.

File bin/resources.ap_

Binary file added.

File bin/sheephead/homelinux/org/androizou/MainAndroizou.class

Binary file added.

File bin/sheephead/homelinux/org/androizou/R$attr.class

Binary file added.

File bin/sheephead/homelinux/org/androizou/R$drawable.class

Binary file added.

File bin/sheephead/homelinux/org/androizou/R$id.class

Binary file added.

File bin/sheephead/homelinux/org/androizou/R$layout.class

Binary file added.

File bin/sheephead/homelinux/org/androizou/R$string.class

Binary file added.

File bin/sheephead/homelinux/org/androizou/R.class

Binary file added.

File bin/sheephead/homelinux/org/androizou/SetID.class

Binary file added.

File default.properties

+# 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.
+
+# Indicates whether an apk should be generated for each density.
+split.density=false
+# Project target.
+target=android-7

File gen/sheephead/homelinux/org/androizou/R.java

+/* 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 sheephead.homelinux.org.androizou;
+
+public final class R {
+    public static final class attr {
+    }
+    public static final class drawable {
+        public static final int icon=0x7f020000;
+    }
+    public static final class id {
+        public static final int widget28=0x7f050002;
+        public static final int widget29=0x7f050000;
+        public static final int widget30=0x7f050003;
+        public static final int widget31=0x7f050006;
+        public static final int widget32=0x7f050004;
+        public static final int widget33=0x7f050007;
+        public static final int widget34=0x7f050005;
+        public static final int widget35=0x7f050008;
+        public static final int widget36=0x7f050001;
+    }
+    public static final class layout {
+        public static final int main=0x7f030000;
+        public static final int setid=0x7f030001;
+    }
+    public static final class string {
+        public static final int app_name=0x7f040001;
+        public static final int button_name=0x7f040004;
+        public static final int hello=0x7f040000;
+        public static final int pass_name=0x7f040003;
+        public static final int user_name=0x7f040002;
+    }
+}

File res/drawable-hdpi/icon.png

Added
New image

File res/drawable-ldpi/icon.png

Added
New image

File res/drawable-mdpi/icon.png

Added
New image

File res/layout/main.xml

+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout
+android:id="@+id/widget29"
+android:layout_width="fill_parent"
+android:layout_height="fill_parent"
+xmlns:android="http://schemas.android.com/apk/res/android"
+>
+<Button
+android:id="@+id/widget36"
+android:layout_width="fill_parent"
+android:layout_height="wrap_content"
+android:layout_below="@+id/widget28"
+android:layout_alignParentLeft="true"
+android:text="@string/button_name">
+</Button>
+<TableLayout
+android:id="@+id/widget28"
+android:layout_width="fill_parent"
+android:layout_height="wrap_content"
+android:orientation="vertical"
+android:stretchColumns="1"
+android:layout_alignParentTop="true"
+android:layout_alignParentLeft="true"
+>
+<TableRow
+android:id="@+id/widget30"
+android:layout_width="fill_parent"
+android:layout_height="wrap_content"
+android:orientation="horizontal"
+>
+<TextView
+android:id="@+id/widget32"
+android:layout_width="wrap_content"
+android:layout_height="wrap_content"
+android:text="@string/user_name"
+>
+</TextView>
+<EditText
+android:id="@+id/widget34"
+android:layout_width="wrap_content"
+android:layout_height="wrap_content"
+android:textSize="18sp"
+>
+</EditText>
+</TableRow>
+<TableRow
+android:id="@+id/widget31"
+android:layout_width="fill_parent"
+android:layout_height="wrap_content"
+android:orientation="horizontal"
+>
+<TextView
+android:id="@+id/widget33"
+android:layout_width="wrap_content"
+android:layout_height="wrap_content"
+android:text="@string/pass_name"
+>
+</TextView>
+<EditText
+android:id="@+id/widget35"
+android:layout_width="wrap_content"
+android:layout_height="wrap_content"
+android:textSize="18sp"
+android:password="true"
+>
+</EditText>
+</TableRow>
+</TableLayout>
+</RelativeLayout>

File res/layout/setid.xml

+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout
+android:id="@+id/widget29"
+android:layout_width="fill_parent"
+android:layout_height="fill_parent"
+xmlns:android="http://schemas.android.com/apk/res/android"
+>
+<Button
+android:id="@+id/widget36"
+android:layout_width="fill_parent"
+android:layout_height="wrap_content"
+android:layout_below="@+id/widget28"
+android:layout_alignParentLeft="true"
+android:text="@string/button_name">
+</Button>
+<TableLayout
+android:id="@+id/widget28"
+android:layout_width="fill_parent"
+android:layout_height="wrap_content"
+android:orientation="vertical"
+android:stretchColumns="1"
+android:layout_alignParentTop="true"
+android:layout_alignParentLeft="true"
+>
+<TableRow
+android:id="@+id/widget30"
+android:layout_width="fill_parent"
+android:layout_height="wrap_content"
+android:orientation="horizontal"
+>
+<TextView
+android:id="@+id/widget32"
+android:layout_width="wrap_content"
+android:layout_height="wrap_content"
+android:text="@string/user_name"
+>
+</TextView>
+<EditText
+android:id="@+id/widget34"
+android:layout_width="wrap_content"
+android:layout_height="wrap_content"
+android:textSize="18sp"
+>
+</EditText>
+</TableRow>
+<TableRow
+android:id="@+id/widget31"
+android:layout_width="fill_parent"
+android:layout_height="wrap_content"
+android:orientation="horizontal"
+>
+<TextView
+android:id="@+id/widget33"
+android:layout_width="wrap_content"
+android:layout_height="wrap_content"
+android:text="@string/pass_name"
+>
+</TextView>
+<EditText
+android:id="@+id/widget35"
+android:layout_width="wrap_content"
+android:layout_height="wrap_content"
+android:textSize="18sp"
+android:password="true"
+>
+</EditText>
+</TableRow>
+</TableLayout>
+</RelativeLayout>

File res/values/strings.xml

+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+    <string name="hello">Androizou</string>
+    <string name="app_name">Androizou</string>
+    <string name="user_name">user</string>
+    <string name="pass_name">pass</string>
+	<string name="button_name">login</string>
+</resources>

File src/sheephead/homelinux/org/androizou/MainAndroizou.java

+package sheephead.homelinux.org.androizou;
+
+import android.app.Activity;
+import android.content.ActivityNotFoundException;
+import android.content.Intent;
+import android.os.Bundle;
+import android.widget.Toast;
+
+public class MainAndroizou extends Activity {
+    /** Called when the activity is first created. */
+    @Override
+    public void onCreate(Bundle savedInstanceState) {
+        super.onCreate(savedInstanceState);
+        setContentView(R.layout.main);
+        GoSetTwitterIDAndPassActivity();
+    }
+    	/**
+	 * TwitterのIDとPassを設定する
+	 * @param bCreate
+	 * 初回起動時はtrueを指定
+	 */
+//	private void SetTwitterIDAndPass( boolean bCreate){
+//		updateButton.setClickable(false);
+//		reloadButton.setClickable(false);
+//		// プリファレンスからID/Passを取得
+//		SharedPreferences preferences = getSharedPreferences( getString(R.string.preferences_name), MODE_PRIVATE);
+//		strid = preferences.getString( getString(R.string.preferences_id), "");
+//		strpass = preferences.getString( getString(R.string.preferences_pass), "");
+//		if(!chkid( bCreate)){
+//			return;
+//		}
+//		httpClient = new DefaultHttpClient();
+//		Credentials cred = new UsernamePasswordCredentials( strid, strpass);
+//		httpClient.getCredentialsProvider().setCredentials( new AuthScope("twitter.com", 80), cred);
+//		GetAndWriteHomeTimeLine();
+//		updateButton.setClickable(true);
+//		reloadButton.setClickable(true);
+//	}
+    
+	/**
+	 * Twitter ID/pass が設定されているかを確認
+	 * @param bCreate
+	 * 初回起動時はtrueを指定
+	 * @return
+	 * boolean値
+	 */
+//	private boolean chkid( boolean bCreate){
+		
+//		if(strid.length() == 0 || strpass.length() == 0){
+			// 初回起動時にid/passが未設定なら、設定画面を呼び出す
+//			if(bCreate){
+//				GoSetTwitterIDAndPassActivity();
+//			}
+//			return false;
+//		}
+//		return true;
+//				return bCreate;
+//	}
+	/**
+	 *  Twitter ID/pass を設定するActivityへ移動
+	 */
+	private void GoSetTwitterIDAndPassActivity(){
+		try{
+			Intent intent = new Intent(MainAndroizou.this, SetID.class);
+			startActivityForResult(intent, 0);
+		} catch( ActivityNotFoundException e){
+			Toast.makeText( MainAndroizou.this, "起動先のActivityが見つかりません", Toast.LENGTH_LONG).show();
+		}
+	}
+}

File src/sheephead/homelinux/org/androizou/SetID.java

+package sheephead.homelinux.org.androizou;
+
+import android.app.Activity;
+import android.os.Bundle;
+
+public class SetID extends Activity {
+    /** Called when the activity is first created. */
+    @Override
+    public void onCreate(Bundle savedInstanceState) {
+        super.onCreate(savedInstanceState);
+        setContentView(R.layout.main);
+    }
+}