开发者

How to delete SMS before save inbox

开发者 https://www.devze.com 2023-01-05 08:32 出处:网络
I have followed this Thread . But using that, I\'m not able to delete current r开发者_运维技巧eceiving SMS. If I\'m delete ALL message in in box. But currently receiving (BroadcastReceiver invoking SM

I have followed this Thread . But using that, I'm not able to delete current r开发者_运维技巧eceiving SMS. If I'm delete ALL message in in box. But currently receiving (BroadcastReceiver invoking SMS) not able to delete.

Is there any way to delete that message also.

Thank You, Chandana


I am pretty late, but still if someone looking for this, the solution is to just abort the broadcast, it will stop saving the current sms in "inbox". just use abortBroadcast(); it will stop the broadcast as well as prevent the sms from being saved..

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号