Send SMS until it is successful
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am trying to send an urgent SMS from my application. I have to make sure that the SMS is being sent successfully. The SMS is being sent after the boot of the Android system and after a check is being made. So I have a service class that handles the BOOT_COMPLETED intent-filter. This class makes a check and if something is true then it tries to send an SMS message via another class that "extends Service" After it makes sure that the sms is successfully sent, both services (the one that handles the boot call and the one that sends the sms)