Page 618 - 완) I MDP 프로젝트 작품 보고서(전체과 1학년)1.6
P. 618

정보통신기기  프로젝트


            import  android.app.Activity;
            import  android.app.AlertDialog;
            import  android.content.DialogInterface;
            import  android.content.Intent;
            import  android.content.SharedPreferences;
            import  android.content.pm.ActivityInfo;
            import  android.media.AudioManager;
            import  android.media.SoundPool;
            import  android.os.Bundle;
            import  android.os.Handler;
            import  android.util.Log;
            import  android.view.View;
            import  android.view.Window;
            import  android.view.WindowManager;
            import  android.view.View.OnClickListener;
            import  android.widget.Button;
            import  android.widget.EditText;
            import  android.widget.TextView;
            import  android.widget.Toast;


            import  java.util.regex.Pattern;


            import  static  android.content.ContentValues.TAG;


            public class Network extends Activity  implements OnClickListener  {


                                                    private  TextView  iph;
                                                    private  boolean  FinishFlag;
                                                    private  int  flag=0;
                                                    private  int  l;
                                                    private  Button  light;
                                                    MyThread  th=null;


                                                    @  O  v  e  r  r  i  d  e
                                                    public  void  onCreate(Bundle  savedInstanceState)  {
                                                    super.onCreate(savedInstanceState);
                                                    requestWindowFeature(Window.FEATURE_NO_TITLE);


            setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
                                                    setContentView(R.layout.network);






                                                         -  611  -                             정보통신기기과
   613   614   615   616   617   618   619   620   621   622   623