12-20-2011 03:05 AM
Is there any way to get notified when the sim card is pulled out/ inserted?
Or at least is there a way to check if it is inserted/removed at the moment so I can implement polling mechanism?
12-20-2011 04:19 AM
12-20-2011 08:46 AM
08-10-2012 06:08 AM
I feel BB does not provide any API to get such type of notification.
08-10-2012 09:44 AM
I have never looked for this API, so not sure if one exists or not.
But I think in most if not all phones, the SIM card can't be changed without removing the battery, so something running at startup could detect a change.
If not, then I think there are listeners that you may be able to use that will get triggered in the same circumstances, I suspect RadioStatusListener will get triggered for example.
What exactly are you trying to do?