检测短信阅读Android上 [英] Detect SMS read on Android

查看:167
本文介绍了检测短信阅读Android上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有刚刚被打开和得到读取,可以通过一个BroadcastReceiver为一个新的SMS被捕获的事件?另外,可以在此通过捕捉可能的新信息通知的通知栏消失的情况下做些什么呢?我发现的唯一的类似的问题是<一个href="http://stackoverflow.com/questions/4709335/is-there-a-good-way-to-tell-when-an-sms-gets-read-on-android">this.

解决方案
  

有没有办法,可以通过一个BroadcastReceiver为刚刚被打开,越来越看?一个新的短信被捕获的事件

有许多SMS客户端 - 你将不得不单独联系各行为人,并要求他们。 Android作为操作系统不具备的短信被打开或阅读的概念。该消息应用程序,它是Android开源项目的一部分,没有记录在案,并支持广播。

  

另外,是否可以通过捕获可能的新信息通知的通知栏消失的情况下做了什么?

没有,不好意思。

Is there an event that can be captured by a BroadcastReceiver for a new SMS that has just been opened and getting read? Alternatively, can this be done by capturing perhaps the event of the "new message" notification going away from the notification bar? The only similar question I have found is this.

解决方案

Is there an event that can be captured by a BroadcastReceiver for a new SMS that has just been opened and getting read?

There are many SMS clients -- you will have to contact each of their authors individually and ask them. Android as an OS does not have the concept of SMSes being "opened" or "read". The Messaging application that is part of the Android open source project has no documented and supported broadcasts.

Alternatively, can this be done by capturing perhaps the event of the "new message" notification going away from the notification bar?

No, sorry.

这篇关于检测短信阅读Android上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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