开发者

how to handle SMS SENT event?

开发者 https://www.devze.com 2023-04-02 18:26 出处:网络
I开发者_JAVA技巧\'m writing an app that sends sms using SmsManager. How can I get informations about success of this operation? Is there a BroadcastReceiver for \"sms sent\" events?

I开发者_JAVA技巧'm writing an app that sends sms using SmsManager. How can I get informations about success of this operation? Is there a BroadcastReceiver for "sms sent" events?

Thank you in advice


On devices that use the default Android SMS manager, you should have a content://sms/sent provider. If you create a ContentObserver on that provider URL you should be able to receive notifications about sent SMS messages.

0

精彩评论

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