Page 80 - MDP2022-2
P. 80

}
                            });
                            right.setOnClickListener(new  Button.OnClickListener()  {
                                    @Override

                                    public  void  onClick(View  view)  {
                                            if  (mThreadConnectedBluetooth  !=  null)  {
                                                    mThreadConnectedBluetooth.write("d");
                                                    mThreadConnectedBluetooth.write("d");
                                                    mThreadConnectedBluetooth.write("d");

                                                    mThreadConnectedBluetooth.write("d");
                                                    mThreadConnectedBluetooth.write("d");
                                                    mThreadConnectedBluetooth.write("d");
                                                    mThreadConnectedBluetooth.write("d");
                                                    mThreadConnectedBluetooth.write("d");
                                                    mThreadConnectedBluetooth.write("d");

                                                    mThreadConnectedBluetooth.write("d");
                                                    mThreadConnectedBluetooth.write("d");
                                                    mThreadConnectedBluetooth.write("d");
                                                    mThreadConnectedBluetooth.write("d");

                                                    mThreadConnectedBluetooth.write("d");
                                                    mThreadConnectedBluetooth.write("d");
                                                    mThreadConnectedBluetooth.write("d");
                                                    mThreadConnectedBluetooth.write("d");
                                                    mThreadConnectedBluetooth.write("d");
                                                    mThreadConnectedBluetooth.write("d");

                                                    mThreadConnectedBluetooth.write("d");
                                                    mThreadConnectedBluetooth.write("d");
                                                    mThreadConnectedBluetooth.write("d");
                                                    mThreadConnectedBluetooth.write("d");

                                                    mThreadConnectedBluetooth.write("d");
                                                    mThreadConnectedBluetooth.write("d");
                                                    mThreadConnectedBluetooth.write("d");
                                                    mThreadConnectedBluetooth.write("d");
                                                    mThreadConnectedBluetooth.write("d");
                                            }

                                    }
                            });
                            down.setOnClickListener(new  Button.OnClickListener()  {
                                    @Override

                                    public  void  onClick(View  view)  {
                                            if  (mThreadConnectedBluetooth  !=  null)  {
   75   76   77   78   79   80   81   82   83   84   85