简体   繁体   English

Android:如果我使用SmsManager发送短信,它会自动重新发送失败的短信吗?

[英]Android: If I send an SMS using SmsManager, does it automatically resend failed sms?

如果我正在使用SmsManager从我的应用程序发送SMS,并且SMS无法发送,那么SmsManager是否会自动重试为我发送SMS-还是我必须在代码中自行管理?

no it does not. 不,不是的。

if there is no signal to send a message and it fails.. the phone SHOULD automatically continue to try resending.. 如果没有信号发送消息并且失败。.电话应该自动继续尝试重新发送。

currently it simply reports that it has failed and puts it in a list of failed messages. 目前,它仅报告失败,并将其放入失败消息列表中。

so, no...You can catch if the message was sent or not and repsond to these events. 因此,不...您可以捕获是否已发送邮件并响应这些事件。

Refer here 请参考这里

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM