Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

When and How android initializes SIM card info

I would like to know two things regarding to Android SIM initialization process:

  1. Which Service is responsible to retrieve SIM card information?
  2. When the Android framework retrieve that information at runtime / on reboot?
like image 245
rick Avatar asked Feb 14 '26 10:02

rick


1 Answers

How android initializes SIM card?

This is done by the TelephonyManager and its different getSimSerialNumber() (Also see other getSim* methods).

When android initializes SIM card?

This is happend a lot inside framework (You can see here any time this method is being called), But in general any time the phone is reboot or the phone come back from Flight State.

like image 78
Nir Duan Avatar answered Feb 17 '26 00:02

Nir Duan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!