在Android中检测收到的电子邮件通知 [英] Detect incoming email notification in android
本文介绍了在Android中检测收到的电子邮件通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当Android中有收到的电子邮件时,我们可以检测到通知吗?
是否有任何解决方案,教程或示例代码尝试?
is there any solution, tutorial, or sample code I can try?
谢谢
推荐答案
尝试实现NotificationListenerService。
这里是官方文档 https://developer.android .com / reference / android / service / notification / NotificationListenerService.html
Try to implements NotificationListenerService. here is the official documentation https://developer.android.com/reference/android/service/notification/NotificationListenerService.html
你可以看看这个问题NotificationListenerService实施
这篇关于在Android中检测收到的电子邮件通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文