Android下使用TelephonyManager类获取设备电话相关信息
其实这篇文章只是对TelephonyManager类的方法进行信息打印,方便以后使用时作为参考。TelephonyManager类相关方法调用结果 01-02 13:18:22.663: I/System.out(3121): type name:mobile 01-02 13:18:22.663: I/System.out(3121): imei:355302043036046 01-02 13:18:22.663: I/System.out(3121): data_activity:NONE 01-02 13:18:22.663: I/System.out(3121): call_state:IDLE 01-02 13:18:22.663: I/System.out(3121): dsoft_version:00 01-02 13:18:22.663: I/System.out(3121): phone number: 01-02 13:18:22.663: I/System.out(3121): netwok_country_iso:cn 01-02 13:18:22.663: I/System.out(3121): network_operator:46000 01-02 13:18:22.663: I/System.out(3121): network_operator_name:CMCC 01-02 13:18:22.663: I/System.out(3121): netwok_type:EDGE 01-02 13:18:22.663: I/System.out(3121): phone_type:GSM 01-02 13:18:22.663: I/System.out(3121): sim_country_iso:cn 01-02 13:18:22.663: I/System.out(3121): sim_operator:46000 01-02 13:18:22.663: I/System.out(3121): sim_operator_name: 01-02 13:18:22.663: I/System.out(3121): sim_serial_number:89860071190940153510 01-02 13:18:22.663: I/System.out(3121): sim_state:READY 01-02 13:18:22.663: I/System.out(3121): subscriber_id:460003250467089 01-02 13:18:22.663: I/System.out(3121): Voice_Mail_Alpha_Tag:语音信箱 01-02 13:18:22.663: I/System.out(3121): Voice_Mail_Number:null 01-02 13:18:22.663: I/System.out(3121): cell_location:[10144,3843,-1] 01-02 13:18:22.663: I/System.out(3121): NeighboringCellInfo:[cell id:3813,Rssi:10][cell id:3653,Rssi:11][cell id:3842,Rssi:10][cell id:3812,Rssi:5][cell id:3832,Rssi:6]
原文地址:Android下使用TelephonyManager类获取设备电话相关信息 | http://orgcent.com/android-telephonymanager-sim/
更多相关文章
- 【Android(安卓)开发教程】编码实现获取与修改预设信息中的值
- Android(安卓)在JNI中执行Java方法--C/C++调用Java
- Android拍照、相册选取、裁剪图片
- Android(安卓)Binder总结
- android 面试
- Android学习笔记•从零开始•第二天•Intent-穿梭在Activity之间
- 引擎设计跟踪(九.14.2i) Android(安卓)GLES 3.0 完善
- android中 Button 安装监听的三种形式
- Android——Log,Toast提示框,Intent跳转