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]

原文地址:<a href="http://orgcent.com/android-telephonymanager-sim/" target="_blank">Android下使用TelephonyManager类获取设备电话相关信息</a> | http://orgcent.com/android-telephonymanager-sim/

相关推荐