If you are only concerned about max limit then just add below line in. android:maxLength="10". If you need to add min limit then you can do like this way in this case min limit is 7. user is restricted to enter character between min and max limit (in between 8 and 10)
The first digit should contain numbers between 6 to 9. The rest 9 digit can contain any number between 0 to 9. The mobile number can have 11 digits also by including 0 at the starting. The mobile number can be of 12 digits also by including 91 at the starting; The number which satisfies the above criteria is a valid mobile Number.Safaa Abd El Hamid. 114 6. Add a comment. 0. a 32 bit integer is not big enough to hold the value of a phone number if the first digit is greater than '2'. the maximum being 2147483647. So if you phone number starts with a 3 or greater it won't validate for sure. this field needs to be a string. Share.
Mobile numbers under +64 21 were followed by 6 or 7 digits since 2003. In September 2005, an extra digit was possible for numbers in range +64 210 e.g. numbers in formats +64 210 xxxxx, +64 210 xxxxxx or +64 210 xxxxxxx (that is, the national number length could be 8 to 10 digits, excluding any country code or trunk prefix).
mpwq6ze.