Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
import android.widget.EditText;

public class Main {
    private static boolean emailValido(EditText email) {
        boolean Valido = true;
        if (email.getText().toString().contains("@") == true) {
            return email.getText().toString().contains(".");
        }
        return Valido = false;
    }
}