Android SDKにあるみたい。そこらにあるダメなバリデータとは異なり、 foo+bar@gmail.com のように+を含むものであっても認めてくれる。
boolean ok = android.util.Patterns.EMAIL_ADDRESS.matcher(input).matches();
cf. http://stackoverflow.com/questions/9355899/android-email-edittext-validation
Go to list of users who liked
Share on X(Twitter)
Share on Facebook
More than 5 years have passed since last update.
Android SDKにあるみたい。そこらにあるダメなバリデータとは異なり、 foo+bar@gmail.com のように+を含むものであっても認めてくれる。
boolean ok = android.util.Patterns.EMAIL_ADDRESS.matcher(input).matches();
cf. http://stackoverflow.com/questions/9355899/android-email-edittext-validation
Register as a new user and use Qiita more conveniently
Go to list of users who liked