android – How to find the operator of a mobile number?

Question:

I need to develop an application to make calls using a cell phone chip, but for that, I have to know the operator of the destination number.

Is it possible to find out the destination operator, programmatically, on android?

Answer:

Following the documentation :

TelephonyManager manager = (TelephonyManager)context.getSystemService(Context.TELEPHONY_SERVICE);
String carrierName = manager.getNetworkOperatorName();
String simOperatorName = manager.getSimOperatorName();

Edition

The operator of the destination number via android api is impossible, there is no way for the Operating System to know the operator based only on the number, mainly with portability. What I would recommend would be to pay a company that has this Web Service and make a request in your app. Doing a quick search I found this site

Scroll to Top