I know how to check if Edit Text is having text using the following method;
EditText etCode = (EditText) findViewById(R.id.et_code); String stringCode = etCode.g