How can I compare the bootlean to a string? I have tried to change the bootlean to a string output but I can’t because of the checkemail function calls for a bootlean.
The check email states that if its a valid email…which returns “true” or “false”.
boolean sefsd = checkemails(e.getText().toString());
if(sefsd.toString().equals("false")){ //do something}
Article about if statement.
Try to learn Java before Android programming.