Hide sms notifications with a broadcastreceiver in KitKat

后端 未结 3 1064
遥遥无期
遥遥无期 2021-02-11 10:26

I\'m trying to intercept the received SMSs by using a broadcast receiver. Here is the code:

    

        
3条回答
  •  有刺的猬
    2021-02-11 11:08

    You need to call abortBroadcast();, see my answer to communication between two device using sms

    If you are running Android 4.4 KitKat, it seems to be more difficult to do these sorts of things and have not looked into it yet myself.

提交回复
热议问题