Pooya1 Active Member Licensed User Sep 26, 2018 #1 Hi I could detect mobile number format according of country code Example if user enter +442079460925 and simcard's is for London country So my library return +44 20 7946 0925 I used google phonenumberutil for this feature in app But i'm programming this app for iOS and i need to PhoneNumberUtils in B4i Please help me how i use it Thanks Related Links: https://github.com/iziz/libPhoneNumber-iOS https://github.com/marmelroy/PhoneNumberKit
Hi I could detect mobile number format according of country code Example if user enter +442079460925 and simcard's is for London country So my library return +44 20 7946 0925 I used google phonenumberutil for this feature in app But i'm programming this app for iOS and i need to PhoneNumberUtils in B4i Please help me how i use it Thanks Related Links: https://github.com/iziz/libPhoneNumber-iOS https://github.com/marmelroy/PhoneNumberKit
Erel B4X founder Staff member Licensed User Longtime User Sep 26, 2018 #2 List of country codes formatted with JSON: https://github.com/yasiriqbal776/AndroidHelper/blob/master/countries.json All that you need is to parse this list and read the first three digits one by one until you find a match. Upvote 0
List of country codes formatted with JSON: https://github.com/yasiriqbal776/AndroidHelper/blob/master/countries.json All that you need is to parse this list and read the first three digits one by one until you find a match.
Pooya1 Active Member Licensed User Sep 27, 2018 #3 Erel said: List of country codes formatted with JSON: https://github.com/yasiriqbal776/AndroidHelper/blob/master/countries.json All that you need is to parse this list and read the first three digits one by one until you find a match. Click to expand... Thank you I have tried use this json file in B4a but i couldn't used it Or i think you mistake about my question Because this file give me only country code and dont have mobile number format Sorry Upvote 0
Erel said: List of country codes formatted with JSON: https://github.com/yasiriqbal776/AndroidHelper/blob/master/countries.json All that you need is to parse this list and read the first three digits one by one until you find a match. Click to expand... Thank you I have tried use this json file in B4a but i couldn't used it Or i think you mistake about my question Because this file give me only country code and dont have mobile number format Sorry