I\'m trying to intercept the received SMSs by using a broadcast receiver. Here is the code:
You need to call abortBroadcast();, see my answer to communication between two device using sms
abortBroadcast();
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.