This is what I would do normally to get the sim id:
TelephonyManager tm = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE);
String getSimSerialNumber = tm.getSimSerialNumber();
This is what I would do normally to get the sim id:
TelephonyManager tm = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE);
String getSimSerialNumber = tm.getSimSerialNumber();