Question

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.

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top