开发者

Any receiver for sent SMS messages?

开发者 https://www.devze.com 2022-12-23 13:23 出处:网络
Hi we get an event when new sms come in andr开发者_如何学Coid but can we get any event when user send a messages, in short is there any receiver to track sending sms as we track incoming sms.There isn

Hi we get an event when new sms come in andr开发者_如何学Coid but can we get any event when user send a messages, in short is there any receiver to track sending sms as we track incoming sms.


There isn't a broadcast intent for outgoing SMS messages unfortunately.

The best you can do (if you have to!) is poll the SMS content provider (content://sms/sent) periodically and remember which messages you see.


U can also use ContentObserver listening on the content://sms, then the onChange will be invoked when the sms database changed.

0

精彩评论

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