检测短信阅读Android上短信、Android

2023-09-07 16:19:32 作者:深知你是梦我怎敢触碰

是否有刚刚被打开和得到读取,可以通过一个BroadcastReceiver为一个新的SMS被捕获的事件?另外,可以在此通过捕捉可能的新信息通知的通知栏消失的情况下做些什么呢?我发现的唯一的类似的问题是this.

解决方案   

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

有许多SMS客户端 - 你将不得不单独联系各行为人,并要求他们。 Android作为操作系统不具备的短信被打开或阅读的概念。该消息应用程序,它是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.