Validator for Android