The only way I\'ve found of retrieving MCC and MNC is by overriding an activity\'s onConfigurationChanged method, as such:
public void onConfigurationChanged
I found out that network operator sometimes can be like 65@5
when not connected to the operator (service unavailable) even if there is a a SIM card inserted. This happened on Samsung S2 running Android 4.1.2.
So you have to be careful when converting to Int.
int mcc = Integer.parseInt(networkOperator.substring(0, 3));