从一个指定的号码,并显示过滤短信 [英] Filter SMS from a specified numbers and display
本文介绍了从一个指定的号码,并显示过滤短信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否有可能在机器人从一个特定号码进行过滤的短信android.And保存在一个特定的database.and短信不应该是可见的收件箱中...
Is it possible in android to filter the SMS from a specific number in android.And save it in a specific database.and the SMS should not be visible in the inbox...
推荐答案
您已经哟为此在3步:
- read SMS from Specific number you have to look in to this link then after
- you have to create Database for store all info about SMS(like id, body, number, time) for that check this link
- you have to Delete SMS from INBOX check this link for delete SMS.
下面添加权限做的所有步骤:
add below permission for do all step:
<uses-permission android:name="android.permission.RECEIVE_SMS" />
<uses-permission android:name="android.permission.READ_SMS" />
这篇关于从一个指定的号码,并显示过滤短信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文