Android, How do i create country code in edit text for phone number validation?

Issue

I want to create an OTP code for my application, so how to create an country code for phone number validation.
If you have solved problem like this, please share to me.
thanks

Solution

Thank’s for your answer all,
i have found the solution for my problem, with using library ‘com.hbb20:ccp:1.7.2’.

Answered By – steven caesar

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published