Android Question Validate phone number

Makumbi

Well-Known Member
Licensed User
Please help how can i ensure that a person inputs the right phone numbers without entering more or less characters

examples 0772333456
 

JackKirk

Well-Known Member
Licensed User
Falsehoods Programmers Believe About Phone Numbers
It is precisely for all these sorts of reasons that the formatting and Regex style solutions are inadequate.

Note this link comes from the google libphonenumber effort which is what is used by my phonevalidator library.

To stay up to date you need to regularly update the libphonenumber-x.x.x.jar which now stands at 8.10.15 - and update the ...B4A/Additional Libraries/phonevalidator.xml to reflect this

I have updated the phonevalidator library thread accordingly.
 
Last edited:
Top