is there any similar to Annotation based JSF/Hibernate validation für Android? Or do I always have to 'manually' validate each input field?
Asked
Active
Viewed 444 times
2 Answers
1
Actually I think he was referring to jsr-303 and its reference implementation Hibernate-Validator which could be used in Android (at least I managed to use 4.2.0.Final) if you get rid of a java.beans.Introspector dependency.
See https://hibernate.atlassian.net/browse/HV-779 and Is there a work around for the Android error "Unable to resolve virtual method java/beans/PropertyDescriptor"?

Community
- 1
- 1

Andrea Vacondio
- 888
- 9
- 19
-1
What u mean by Hibernate Viladation Hibernate is different thing it is just an ORM and JSF is MVC; you can use Regular Expressions to deal with them or use
android:maxLines="5" android:maxHeight="5" android:maxLength="5" android:inputType="textEmailAddress"
or use these properties

Yahya Arshad
- 1,626
- 2
- 19
- 34
-
I meant the Validation by annotations. If there is some in Android? – membersound May 17 '12 at 09:23