I need automatically try to resend failed outgoing SMS on Samsung Android (Galaxy S10) device after some period of time (due to poor signal quality, no credits, no SIM card inserted e.t.c.).
I have found Tasker app (any other ways/suggestions to do this thing would be also OK).
I have tried to catch Tasker SMS Failure
event, but it doesn't help. In the manual there is a note for this event: Only works for an SMS sent by Tasker's Send SMS action
. But I need to catch failure event from native SMS app.
I have also tried to catch Intent com.samsung.intent.action.SMS_SEND_FAIL
with Tasker. It doesn't work too (may be wrong intent name?).
LogCat entry parsing is also useless, because of no SMS data contains (I need SMS receiver phone number and text to try resending).
And finally I have tried to get SMS from phone internal native database, but I could get only successfully sent messages and inbox:
content://sms/inbox
- OK (incoming SMS)
content://sms/sent
- OK (successfully sent)
content://sms
- OK (inbox + sent)
content://sms/all
- empty
content://sms/failed
- empty
content://sms/queued
- empty
content://sms/draft
- empty
content://sms/outbox
- empty
content://sms/undelivered
- empty
Any other solutions? Many thanks!