I am trying to abort a particulat text if it is an MMS and is originating from a particular number. I have used abortBroadcast(). I am successful in detecting if it is an MMS or not but after that abortBroadcast does not work. Also can someone please explain how abortBroadcast works.
Here is my CODE:
if(incomingNumber.equalsIgnoreCase("*MYNUMBER**")){
try {
abortBroadcast();
} catch (Exception e) {
e.printStackTrace();
}
}