سؤال

I am trying to create an app which recognizes the country of the incoming call, is there a way to do this? I was thinking to use the first four characters in the number to determine the country but this seems to be an ineffective approach.

هل كانت مفيدة؟

المحلول

To retrieve incoming call - retrieve-incoming-calls-phone-number-in-android

Then use the country code - getting-telephone-country-code-with-android

Then use country code to find country in your map.

All in all summing up (as mentioned here)-- get-incoming-call-country-name-using-phone-number.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top