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

공중망을  이용한  애완동물  사료  공급기





                                                    Handler  mKillHandler = new Handler()  {


                                                    @Override
                                                    public  void  handleMessage(android.os.Message  msg)  {
                                                            if (msg.what ==  0)
                                                                    FinishFlag  =  false;
                                                    };
                                                    };
            }


            order.java
            package  com.example.puppy;


            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.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.ImageButton;
            import  android.widget.RadioGroup;
            import  android.widget.Toast;


            import  static  android.content.ContentValues.TAG;


            public class Order extends Activity  implements OnClickListener  {


                 private  ImageButton  check, back, light;
                 private  String  typeStr, amountStr,  waterStr,  sender,  ips;
                    private  RadioGroup  types,  amounts,  waters;
                 private  boolean  FinishFlag;
                 private  int  l,flag=0;
                 MyThread  th =  null;





            인천전자마이스터고등학교                                 -  592  -
   594   595   596   597   598   599   600   601   602   603   604