Is there a way to read "raw" data of a Sim card? Similar to how to read a raw data with a SmsMessage raw data which is the Pdu?
For reading SIM card related information you need TelephonyManager API.
TelephonyManager mTelephonyMgr = (TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE);
String imei = mTelephonyMgr.getDeviceId();
The TelephonyManager API's method contains lots of other information like MNC,MCC, SimOperator's Name, Cell Location etc.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With