广播接收器发送短信 [英] Broadcast Receiver for Sent SMS
问题描述
是否有广播接收器在安卓听短信发送的事件吗?
Is there a Broadcast Receiver in android to listen to the SMS sent event?
在我的应用程序,我想算短信的发送数量每predefined时间间隔。如果它不能听发来的短信,任何人都可以分享code计数短信和指定时间,例如最后30分钟。
In my application I want to count the number of SMS sent every predefined time interval. If its not possible to listen to sent sms, can anyone share code to count SMS and for specified time for example last 30 minutes.
推荐答案
检查此链接....我认为它不是完整的解决方案,但你有一些想法如何实现...
Check this link....i think its not complete solution but you have some idea how to implement...
<一个href="http://www.anddev.org/other-coding-problems-f5/sms-mms-contentobserver-and-service-t12938.html" rel="nofollow">http://www.anddev.org/other-coding-problems-f5/sms-mms-contentobserver-and-service-t12938.html
您可以实现内容://短信/发送观察者本身..所以,如果在此的任何变化,那么你可以得到事件,这样你们可以指望或让操作发送短信或彩信.......
you can implement content://sms/sent observer se.. so if any changes in this then you can get event so u can count or get action sent sms or mms.......
这篇关于广播接收器发送短信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!