Index: /trunk/14.AlertDialogTest/default.properties =================================================================== --- /trunk/14.AlertDialogTest/default.properties (revision 36) +++ /trunk/14.AlertDialogTest/default.properties (revision 36) @@ -0,0 +1,13 @@ +# 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 Index: /trunk/14.AlertDialogTest/.classpath =================================================================== --- /trunk/14.AlertDialogTest/.classpath (revision 36) +++ /trunk/14.AlertDialogTest/.classpath (revision 36) @@ -0,0 +1,7 @@ + + + + + + + Index: /trunk/14.AlertDialogTest/.project =================================================================== --- /trunk/14.AlertDialogTest/.project (revision 36) +++ /trunk/14.AlertDialogTest/.project (revision 36) @@ -0,0 +1,33 @@ + + + 14.AlertDialogTest + + + + + + 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 + + Index: /trunk/14.AlertDialogTest/AndroidManifest.xml =================================================================== --- /trunk/14.AlertDialogTest/AndroidManifest.xml (revision 36) +++ /trunk/14.AlertDialogTest/AndroidManifest.xml (revision 36) @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + Index: /trunk/14.AlertDialogTest/src/soo/ui/notify/AlertDialog.java =================================================================== --- /trunk/14.AlertDialogTest/src/soo/ui/notify/AlertDialog.java (revision 36) +++ /trunk/14.AlertDialogTest/src/soo/ui/notify/AlertDialog.java (revision 36) @@ -0,0 +1,54 @@ +package soo.ui.notify; + +import android.app.Activity; +import android.content.DialogInterface; + +import android.os.Bundle; +import android.view.View; +import android.view.View.OnClickListener; +import android.widget.Button; +import android.widget.Toast; +import android.app.AlertDialog.Builder; + +public class AlertDialog extends Activity +implements OnClickListener +{ + /** Called when the activity is first created. */ + + Button b1,b2; + + @Override + public void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.main); + + b1 = (Button)findViewById(R.id.button01); + b2 = (Button)findViewById(R.id.button02); + + b1.setOnClickListener(this); + b2.setOnClickListener(this); + } + + @Override + public void onClick(View v) { + // TODO Auto-generated method stub + if(v==b1){ + Builder ad = new Builder(this); + //AlertDialog.Builder ad = new AlertDialog.Builder(this); + ad.setTitle("���李���ぉ"); + ad.setMessage("���李��댁�"); + ad.setNeutralButton("�リ린",new DialogInterface.OnClickListener() { + + @Override + public void onClick(DialogInterface dialog, int which) { + // TODO Auto-generated method stub + Toast.makeText(AlertDialog.this, "���ル�?!!", Toast.LENGTH_SHORT).show(); + //臾대� �대� �대��ㅼ�誘�� AlertDialog.this濡��댁� ���. + } + }); + ad.show(); + }else{ + Toast.makeText(this, "諛곌������!", Toast.LENGTH_SHORT).show(); + } + } +} Index: /trunk/14.AlertDialogTest/res/values/strings.xml =================================================================== --- /trunk/14.AlertDialogTest/res/values/strings.xml (revision 36) +++ /trunk/14.AlertDialogTest/res/values/strings.xml (revision 36) @@ -0,0 +1,5 @@ + + + Hello World, AlertDialog! + AlertDialogTest + Index: /trunk/14.AlertDialogTest/res/layout/main.xml =================================================================== --- /trunk/14.AlertDialogTest/res/layout/main.xml (revision 36) +++ /trunk/14.AlertDialogTest/res/layout/main.xml (revision 36) @@ -0,0 +1,19 @@ + + +