My phone is on Verizon Wireless. Every day I drive through areas where my phone is roaming and / or has poor reception. Using the scripting level for android, I will record the results of calling getOperatorName () once every ten minutes over the next week.
There is another method that can work in android.telephony.cdma api. There is no disclaimer in the documentation. You would get a network id instead of a name. Unfortunately, this requires an API level of 5 instead of 1 if that is important to you.
Recording the results of the getOperatorName () method did not bring anything special. When I did not have a service, it invariably returned to zero, and when I had a service, it consistently returned "Verizon Wireless". I am sure this is not very useful.
Edit: add and fix. Added - Link explanation Fixed - API level 5 is not 17
Edit 2: Test Results
source share