We are facing the problem of detecting a SIM change in Android without waiting for the phone to restart. Is there a notification or event that we can receive? How can it be solved?
Asked
Active
Viewed 151 times
1 Answers
0
You'll want to use Android's Broadcast Receiver framework to monitor for the android.intent.action.SIM_STATE_CHANGED
intent action fired by the system.
Check this example and this SO question for more information.

Devon Katz
- 246
- 1
- 3