It works for CDMA, but not always - it depends on the network carrier.
Here's an alternative idea, which suggests looking at the outgoing SMS or calls to figure out this device's phone number, from which you can then figure out the CountryIso based on the international dialing code...