i've read this and this in order to make this script
import sl4a
droid = sl4a.Android()
msgs = droid.smsGetMessageIds(False, 'sent')[1]
msgs.extend(droid.smsGetMessageIds(False,'sent')[1])
print(droid.smsGetMessageById(msgs[0], ['address','body','status','error_code']).result)
droid.smsDeleteMessage(msgs[0])
My purpose is delete last sms sent. But it does not works. That answer does not work for me. Even if is not my default sms client i can send sms, but i can't delete these sms after sending. What is the problem?