I\'d like to be able to do some stuff when the SIM state change, i.e. play a sound when SIM PIN is required, but I think there are no Broadcast events that can be intercepte
The Intent android.intent.action.SIM_STATE_CHANGED is broadcast when the SIM state changes. For example, on my HTC Desire with a T-Mobile SIM card, if I put the device into flight mode the following Intent is broadcast:
If I then take it out of flight mode, the following Intents are broadcast:
It is possible that different manufacturers and different models behave differently. As they say, "Your mileage may vary".