我已經實現了一個短信接收器,它可以在沒有任何問題的情況下攔截收到的短信。 但是,當我安裝GO SMS Pro並設置「禁用其他消息通知」時,即使我已將意向篩選器 的優先級設置得非常高,我的應用程序 仍未收到任何廣播消息。有沒有一種方法可以解決這個問題,以至於我的應用程序總是收到SMS廣播,而不管用戶在Go SMS Pro的應用程序上做什麼 ,特別是因爲我的應用程序沒有顯示任何UI彈出 通知?只要我卸載GO短信臨,我的應用程序開始收到短信廣播 和工作正常。SMS廣播接收器在GO短信專業版安裝時未被調用
以下是收到傳入短信並安裝GO SMS Pro的日誌。有一些 魔術由GO SMS Pro完成,我不明白。有人可以解釋一下這裏做了什麼,我可以確保我的應用程序每次都能得到有序的廣播通知。
07-02 19:52:21.674: INFO/Zygote(25209): Zygote: pid 25209 has INTERNET permission, then set capability for CAP_NET_RAW
07-02 19:52:21.820: INFO/ActivityThread(25209): Publishing provider go-sms: com.jb.gosms.provider.GoSmsProvider
07-02 19:52:21.830: INFO/ActivityThread(25209): Publishing provider go-mms-sms: com.jb.gosms.provider.GoMmsSmsProvider
07-02 19:52:21.834: INFO/ActivityThread(25209): Publishing provider com.jb.gosms.im;com.jb.gosms.chat:
com.jb.gosms.im.database.ImContentProvider
07-02 19:52:21.842: INFO/ActivityThread(25209): Publishing provider com.jb.gosms.schedule.Schedule: com.jb.gosms.schedule.ScheduleProvider
07-02 19:52:21.846: INFO/ActivityThread(25209): Publishing provider go-mms: com.jb.gosms.provider.GoMmsProvider
07-02 19:52:21.959: DEBUG/dalvikvm(25209): GC_FOR_MALLOC freed 2657 objects/173112 bytes in 30ms
07-02 19:52:22.182: DEBUG/dalvikvm(25209): Trying to load lib /data/data/com.jb.gosms/lib/libHanzi2Pinyin.so 0x47d4cf70
07-02 19:52:22.182: DEBUG/dalvikvm(25209): Added shared lib /data/data/com.jb.gosms/lib/libHanzi2Pinyin.so 0x47d4cf70
07-02 19:52:22.182: DEBUG/dalvikvm(25209): No JNI_OnLoad found in /data/data/com.jb.gosms/lib/libHanzi2Pinyin.so 0x47d4cf70, skipping init
07-02 19:52:22.186: INFO/Hanzi2Pinyin_Native(25209): InitLib in ver=3141000
07-02 19:52:22.186: INFO/Hanzi2Pinyin_Native(25209): Init in
07-02 19:52:22.186: INFO/Hanzi2Pinyin_Native(25209): file size=155203
07-02 19:52:22.186: INFO/Hanzi2Pinyin_Native(25209): Init out
07-02 19:52:22.186: INFO/Hanzi2Pinyin_Native(25209): Instance out Init = 21
07-02 19:52:22.186: INFO/Hanzi2Pinyin_Native(25209): InitLib out
07-02 19:52:22.467: DEBUG/dalvikvm(25209): GC_FOR_MALLOC freed 5960 objects/376104 bytes in 29ms
07-02 19:52:22.815: DEBUG/IMS/Ims3GPP2SmsMessage(25209): IMSLogcreateFromPdu : calling parsePdu
07-02 19:52:22.815: DEBUG/IMS/Ims3GPP2SmsMessage(25209): IMSLogpdu to parse : 000002100202070292A106A85A0008150003100730010610254E9D3A000306110702195220
07-02 19:52:22.815: DEBUG/IMS/Ims3GPP2SmsMessage(25209): IMSLogparseAddress
07-02 19:52:22.815: DEBUG/IMS/Ims3GPP2SmsMessage(25209): IMSLogaddress received :3233292992
07-02 19:52:22.815: DEBUG/IMS/Ims3GPP2SmsMessage(25209): IMSLogbearer data received : 0003100730010610254E9D3A000306110702195220
07-02 19:52:22.815: ERROR/bearer data(25209): bearer data obtained 1
07-02 19:52:22.815: DEBUG/EMS(25209): messageType is 1 messageId is 115 hasUserDataHeader is false
07-02 19:52:22.858: DEBUG/IMS/Ims3GPP2SmsMessage(25209): IMSLogcreateFromPdu : calling parsePdu
我工作的這個情況也:HTTP:// stackov所有應用程序的所有接收器的列表erflow.com/questions/6600266/suppress-block-broastreceiver-in-another-app –