从一个指定的号码,并显示过滤短信 [英] Filter SMS from a specified numbers and display

查看:83
本文介绍了从一个指定的号码,并显示过滤短信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

  1. 读短信,从具体的数字你在看这个链接再经过
  2. 您必须创建数据库存储有关SMS(如身份证,身体,号码,时间),所有的信息对于检查这个的链接
  3. 您必须删除短信的收件箱检查此链接以删除短信。
  1. read SMS from Specific number you have to look in to this link then after
  2. you have to create Database for store all info about SMS(like id, body, number, time) for that check this link
  3. 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆