有没有一种读取SIM卡“原始”数据的方法?类似于如何使用SmsMessage Pdu中的原始数据来读取原始数据?
如果您想读取与SIM卡相关的信息,您需要使用TelephonyManager API。
TelephonyManager mTelephonyMgr = (TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE);
String imei = mTelephonyMgr.getDeviceId();
TelephonyManager API的方法包含了许多其他信息,例如MNC、MCC、SimOperator名称、单元位置等。