Android程序设计第10章 语音及短信服务.pptVIP

  • 5
  • 0
  • 约1.79万字
  • 约 39页
  • 2020-01-17 发布于辽宁
  • 举报

Android程序设计第10章 语音及短信服务.ppt

10.4.2 SMS消息的发送与跟踪 15 [… send success actions … ]; break; 16 case SmsManager.RESULT_ERROR_GENERIC_FAILURE: 17 [… generic failure actions … ]; break; 18 case SmsManager.RESULT_ERROR_RADIO_OFF: 19 [… radio off failure actions … ]; break; 20 case SmsManager.RESULT_ERROR_NULL_PDU: 21 [… null PDU failure actions … ]; break;}}},new IntentFilter(SENT_SMS_ACTION)); 22 registerReceiver(new BroadcastReceiver() { 23 @Override 24 public void onReceive(Context _context, Intent _intent) { 25 [… SMS delivered actions … ] 26 } 27 },newIntentFilter(DELIVERED_SMS_ACTION)); 28 // Send the m

文档评论(0)

1亿VIP精品文档

相关文档