How to prevent incoming SMS messages from incoming messages?

I am working on a simple application that receives but does not process sms messages. It checks every incoming sms for a specific key phrase. If sms contains this keyword phrase, it responds accordingly. If the key flash does not exist, then my application does nothing. I have a lot of work.

I was wondering if there is a way to prevent the default sms application on the phone from receiving text only if my application detects this passphrase.

thanks for the help
Andrew

+4
source share
2 answers

Android is installed in the broadcast receiver: priority = "100" and in onRecieve () this.abortBroadcast (); this will prevent SMS from being viewed by another application ..... it won’t even get into your inbox

+4
source

I think these two threads will help you.
disable sms notification

Can we delete sms before ...

0
source

All Articles