Can we do client side validation in android native app?
i.e. in XML page itself can we check whether field is empty, only numeric for phone number, etc
Can we do client side validation in android native app? i.e. in XML page
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can restrict the user to enter only numeric fields in textBox by addding type (in xml) as
so you don’t need to validate it for numbers. But yes for checking empty fileds probably you need to check in java code by comparing the length of your textBox values.