Is it possible to get an E-Mail validation in my code:
EditText EmailAdresse = (EditText) findViewById(R.id.editTextEMailAdresse);
if (EmailAdresse.getText().toString().length() == 0)
EmailAdresse.setError("Bitte geben Sie Ihre Email Adresse ein");
if ((EmailAdresse.getText().toString().equals(""))) {
At the moment it works withan empty field (Lenght == 0 ) but i want that it works with the @ symbol. If the user does not type anything into the field and it shows please type your Email address. If the user type one letter or symbol in the field he could send an Email. I want that he MUST type "@" into the field and then he could send a mail.