开发者

Any receiver for sent SMS messages?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜