当改变SIM卡事件 [英] Event when sim card is changed

查看:144
本文介绍了当改变SIM卡事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在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细节的详细信息: <一href="http://stackoverflow.com/questions/2372757/acces-the-sim-card-with-an-android-application">Acces SIM卡,一个Android应用程序?

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

这篇关于当改变SIM卡事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆