Page 801 - 3-2
P. 801

Log.d("1000 의 자리", codeField1000.getText().toString());
                    Log.d("100 의 자리", codeField100.getText().toString());
                    Log.d("10 의 자리", codeField10.getText().toString());
                    Log.d("1 의 자리", codeField1.getText().toString());
                    Log.d("random 1000  의 자리", random1000);
                    Log.d("random 100 의 자리", random100);
                    Log.d("random 10 의 자리", random10);
                    Log.d("random 1 의 자리", random1);


                    if              (codeField1000.getText().toString().equals(random1000)               &&
            codeField100.getText().toString().equals(random100)                                          &&
            codeField10.getText().toString().equals(random10)                                            &&
            codeField1.getText().toString().equals(random1)) {


                        Intent intent25 = new Intent(getApplicationContext(),LoginMainActivity.class);
                        Toast.makeText(this, " 대여성공!", Toast.LENGTH_SHORT).show();
                        startActivity(intent25);
                        finish();
                    }


                    else {
                        Toast.makeText(Rent_Password.this,                " 암호가                 틀렸습니다.",
            Toast.LENGTH_SHORT).show();
                    }
                }
            }






































                                                         - 801 -
   796   797   798   799   800   801   802   803   804   805   806