Does anyone know a reliable way to block incoming/outgoing SMS messages through code? It\'s ok if the actual SMS messages are being received, but I would like to block any notif
Regarding blocking of incoming sms. You can register broadcast receiver with high priority so your code gets called before system app is called. Than in broadcast receiver, you can abort the broadcast and other apps won't see it.
register receiver in manifest:
and then in broadcast receiver:
@Override
public void onReceive(Context context, Intent intent) {
abortBroadcast();
}