Hide sms notifications with a broadcastreceiver in KitKat

后端 未结 3 490
遥遥无期
遥遥无期 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:04

    If user has set your application as default SMS app, then he/she is not going to get an SMS notification. You have to handle the notification, as well as other feature of the SMS in your app.

    For more information read this blog.

    Check out other blog and sample app.

提交回复
热议问题