From thread on the mailing list:
- You can use the phone number assigned to you. Phone number starts with country code.
- In addition, IMEI has information about which country your phone has been approved / registered for.
"If you try to get the information you are connected to MNC-MCC, use the TelephonyManager.getNetworkOperator () API. MCC (mobile country code) is the information you are looking for.
Apparently the easiest of all getLocale (). getDisplayCountry () doesn't work at all, so without a location API this is all you can do (besides a Wi-Fi location).
source share