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/
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值