0

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.

P. Camilleri
  • 12,664
  • 7
  • 41
  • 76
Psypher
  • 10,717
  • 12
  • 59
  • 83

1 Answers1

0

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.

Community
  • 1
  • 1
sjain
  • 23,126
  • 28
  • 107
  • 185