我总是收到这个错误:12-15 09:46:48.434: E/TelephonyManager(5127): getDefaultSim is sim1
当我打电话时:
TelephonyManager mTelephonyMgr = (TelephonyManager) this.getSystemService(Context.TELEPHONY_SERVICE);
if( mTelephonyMgr != null && mTelephonyMgr.getDeviceId() != null )
deviceImei = mTelephonyMgr.getDeviceId();
if (mTelephonyMgr != null && mTelephonyMgr.getSimState() == TelephonyManager.SIM_STATE_READY)
country = mTelephonyMgr.getSimCountryIso();