[Android]Hot key IMEI *#06# and *#07#
2015-11-05 16:57
549 查看
*#06# and *#07# 這兩個字串定義在以下檔案中:
packages/services/Telephony/src/com/android/phone/SpecialCharSequenceMgr.java
定義MMI_IMEI_DISPLAY 和 MMI_REGULATORY_INFO_DISPLAY 如下:
此類的說明,也涉及到有關PIN的東西,不清楚PUK 的在什麼地方處理。
以上記錄下,以便日後查找。
[end]
packages/services/Telephony/src/com/android/phone/SpecialCharSequenceMgr.java
定義MMI_IMEI_DISPLAY 和 MMI_REGULATORY_INFO_DISPLAY 如下:
public class SpecialCharSequenceMgr { private static final String TAG = PhoneGlobals.LOG_TAG; private static final boolean DBG = false; private static final String MMI_IMEI_DISPLAY = "*#06#"; private static final String MMI_REGULATORY_INFO_DISPLAY = "*#07#"; //... }
此類的說明,也涉及到有關PIN的東西,不清楚PUK 的在什麼地方處理。
/** * Helper class to listen for some magic dialpad character sequences * that are handled specially by the Phone app. * * Note the Contacts app also handles these sequences too, so there's a * separate version of this class under apps/Contacts. * * In fact, the most common use case for these special sequences is typing * them from the regular "Dialer" used for outgoing calls, which is part * of the contacts app; see DialtactsActivity and DialpadFragment. * *This* version of SpecialCharSequenceMgr is used for only a few * relatively obscure places in the UI: * - The "SIM network unlock" PIN entry screen (see * IccNetworkDepersonalizationPanel.java) * - The emergency dialer (see EmergencyDialer.java). * * TODO: there's lots of duplicated code between this class and the * corresponding class under apps/Contacts. Let's figure out a way to * unify these two classes (in the framework? in a common shared library?) */
以上記錄下,以便日後查找。
[end]
相关文章推荐
- android一些你知道的或不知道的style
- Android Studio 混淆打包 IOException: Please correct the above warnings first
- Android中跳转到系统设置界面
- Google Android改了什么 zlib
- Android总结篇系列:Android广播机制
- android获取经纬度和地方名称
- 使用ViewFLow制作循环滑动广告牌
- Android ViewPager等自制图片轮播器
- 深入浅出RxJava四-在Android中使用响应式编程
- Android-异步消息处理机制(Handler,Looper,Message)
- android studio Cannot reload AVD list问题
- Android适配之适配不同的系统版本
- Android应用设置系统情景模式
- android NumberPicker实现滑动小数打分
- Android中Cursor类的概念和用法
- JavaScript_JS判断客户端是否是iOS或者Android
- Android基础入门教程——8.3.14 Paint几个枚举-常量值以及ShadowLayer阴影效果
- Android学习路线指南
- Android 开发最佳实践
- 下载文件+保存到SD卡 --归纳整理 MARS ANDROID 课堂笔记