handsent应用SUP presses SMS_RECEIVED广播 [英] handsent app suppresses SMS_RECEIVED broadcast
问题描述
我在处理android.provider.Telephony.SMS_RECEIVED广播市场的应用程序。现在我才明白,该广播不尽快handcent SMS是安装在特定设备上发送了(或至少我不明白这一点了)。
- 怎么可能一个应用程序可以从坐席preSS广播发送?
- 是有办法仍然获得广播?
谢谢
西蒙
这怎么可能,一个应用程序可以从坐席preSS广播发送?
块引用>的短信作为一个有序的广播发送。高优先级的接收器可以中止广播,$ P $从它获得自己的机会pventing低优先级的接收器。
是有办法仍然获得广播?
块引用>有接收器具有更高的优先级
<意向滤光器>
比Handcent,这可能会或可能无法或者卸载Handcent。
i have an app in the market that handles android.provider.Telephony.SMS_RECEIVED broadcasts. now i realized, that the broadcast is not sent anymore (or at least i don't get it anymore) as soon as handcent sms is installed on the particular device.
- how is it possible that an app can suppress a broadcast from being sent?
- is there a way to still get the broadcast?
thanks simon
解决方案how is it possible that an app can suppress a broadcast from being sent?
SMSes are sent as an ordered broadcast. High priority receivers can abort the broadcast, preventing lower priority receivers from getting their chance at it.
is there a way to still get the broadcast?
Have your receiver have a higher-priority
<intent-filter>
than Handcent, which may or may not be possible.Or, uninstall Handcent.
这篇关于handsent应用SUP presses SMS_RECEIVED广播的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!