handsent应用SUP presses SMS_RECEIVED广播 [英] handsent app suppresses SMS_RECEIVED broadcast

查看:185
本文介绍了handsent应用SUP presses SMS_RECEIVED广播的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在处理android.provider.Telephony.SMS_RECEIVED广播市场的应用程序。现在我才明白,该广播不尽快handcent SMS是安装在特定设备上发送了(或至少我不明白这一点了)。


  1. 怎么可能一个应用程序可以从坐席preSS广播发送?

  2. 是有办法仍然获得广播?

谢谢
西蒙


解决方案

  

这怎么可能,一个应用程序可以从坐席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.

  1. how is it possible that an app can suppress a broadcast from being sent?
  2. 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屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆