开发者

Block outgoing text

开发者 https://www.devze.com 2023-01-07 01:54 出处:网络
How to design the BroadcastReceiver class that will block outgoing SMS. abortBroadcast();does not work. Any help will be appreciated.

How to design the BroadcastReceiver class that will block outgoing SMS.

abortBroadcast(); does not work. Any help will be appreciated.

if ((actionType.equals(Intent.ACTION_SEND)))
开发者_如何转开发{
    setResultData(null); // I tried this and abortBroadcast(); as well
}


No, you can not though you can intercept outgoing sms using content observer

0

精彩评论

暂无评论...
验证码 换一张
取 消