How to prevent incoming SMS from reaching the inbox?

后端 未结 1 1212
别那么骄傲
别那么骄傲 2021-02-10 21:43

I\'m working on a simple app that receives, but not handles sms messages. It checks each incoming sms for a specific keyphrase. If the sms contains that keyphrase then it resp

相关标签:
1条回答
  • 2021-02-10 22:00

    in broadcast receiver set android:priority="100" and in onRecieve() this.abortBroadcast(); this will prevent from seeing the sms to other application .....even will not go into inbox

    0 讨论(0)
提交回复
热议问题