2012年2月18日

摘要: 本文介绍使用TelephonyManager来获取手机SIM卡的状态和移动网络的相关信息,主要使用了TelephonyManager.listen函数,这个函数源码如下:public void listen(PhoneStateListener listener, int events) { String pkgForDebug = mContext != null ? mContext.getPackageName() : "<unknown>"; try { Boolean notifyNow = (getITelephony() != null); ... 阅读全文
posted @ 2012-02-18 14:10 android开发实例 阅读(2145) 评论(0) 推荐(0) 编辑

导航