摘要: Android通讯之短信功能实现: 使用android.telephony.SmsManager对象,可以发送短信和彩信。// 构造回调函数,短信发送结束后,会发出对应的Intent请求Intent intent = new Intent("com.sample.sms_sent");intent.putExtra("sms_id",GenerateSmsId());PendingIntent p... 阅读全文
posted @ 2013-08-09 16:55 不止所见 阅读(293) 评论(0) 推荐(0) 编辑
摘要: Android通讯之通话功能的实现: 在Android中,android.telephony.TelephonyManager对象是开发者获取当前通话网络相关信息的窗口,通过TelephonyManager对象可以查看当前的通话状态,SIM卡的消息等相关内容:// 获得TelephonyManager对象TelephonyManager telManager = (TelephonyManager... 阅读全文
posted @ 2013-08-09 13:11 不止所见 阅读(371) 评论(0) 推荐(0) 编辑