当改变SIM卡事件事件、SIM

2023-09-12 10:05:00 作者:卟要见卟要贱

如何在SIM卡的移动改变访问事件?

How to access event when sim card is changed in mobile?

推荐答案

我不知道事件,但手机将被关闭,并在当SIM卡被调换,这样你就可以创建一个存储服务在preferences SIM卡序列号,然后比较服务启动时存储的,在当前的SIM卡的序列号。

I'm not aware of an event, but the phone will be turned off and on when the SIM is swapped, so you can create a service that stores the SIM serial number in preferences, and then compare the serial number stored with that in the current SIM when the service starts.

下面是访问SIM细节的详细信息: Acces SIM卡,一个Android应用程序?

Here's details of accessing the SIM details: Acces the SIM Card with an Android Application?