从一个指定的号码,并显示过滤短信号码、短信

2023-09-04 04:10:05 作者:单挑你的吻

是否有可能在机器人从一个特定号码进行过滤的短信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步:

读短信,从具体的数字你在看这个链接再经过 您必须创建数据库存储有关SMS(如身份证,身体,号码,时间),所有的信息对于检查这个的链接 您必须删除短信的收件箱检查此链接以删除短信。 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" />