is there any Java validator libraries i can use to validate text input from an android app?
i know that in spring there are validators for various different types such as checking if a value is a int, if a value is a valid email, etc etc.
Anything similar in core java or even android?
cheers in advance. i dont want to re-invent the wheel if its already been implemented. i could always sue java reg expressions to construct my own ones but was wondering if their was one done specifically for email formats.
I have written some supporting classes to fix this. It contains a validator interface, an abstract inplementation,a validationresult class and 2 examples of custom implemented validations. 1 for regular expressions on text and a simple one to check if a checkbox is checked.
Here is the link to my blog containing the sources and a small bit of explaining Form validation on Android: link text