是否有可能拦截传出的短信之前,它实际上是发送,得到它的内容则可以忽略/根据一些标准,把它?
Is it possible to intercept outgoing SMS before it is actually sent, get its contents then ignore / send it according to some criteria?
如。阻止所有的国际文本(与领先00号),但允许一切。
eg. block all international text (numbers with leading 00), but allow everything else.
推荐答案
接收短信
您可以拦截通短信监听器使用广播receiver.You可以修改接收到的SMS或破坏它,使它不到达收件箱中收到的短信。
You can intercept an incoming sms thru sms listener using Broadcast receiver.You can modify the incoming sms or destroy it so that it does not reaches inbox.
发送短信
您可以通过将内容观察者
在内容监听传出的短信://短信/输出
但你可以与本机的短信无法修改app.You可以明显修改内容的内容://短信/输出
但它没有一点
You can listen for outgoing sms by putting content observer
over content://sms/out
but you can not modify it with the native sms app.You can obviously modify the content of content://sms/out
but it has no point.
相关推荐
最新文章