在新的电子邮件与Android通知电子邮件、通知、Android

由网友(遇良人)分享简介:有没有办法为一个应用程序得到通知,当新邮件已收到?我的目标是,上升警报(播放声音,振动,等等),如果被接收到具有特定主题的电子邮件(认为它像一个过滤器或规则),但我不想要检查电子邮件服务器由我自己。我想我在寻找类似android.telephony.PhoneStateListener,但对邮件。is there a...

有没有办法为一个应用程序得到通知,当新邮件已收到?我的目标是,上升警报(播放声音,振动,等等),如果被接收到具有特定主题的电子邮件(认为它像一个过滤器或规则),但我不想要检查电子邮件服务器由我自己。我想我在寻找类似android.telephony.PhoneStateListener,但对邮件。

is there a way for an app to get notified when a new email has been received? My goal is, to rise an alert (play a sound, vibrate, whatever) if an email with a specific topic gets received (think of it like an "filter" or a "rule"), but I dont want to check the email server by myself. I think I'm searching for something like "android.telephony.PhoneStateListener" but for Email.

推荐答案

对不起也没有一般概念的新邮件。 Gmail中拥有自己的邮件数据库管理,电子邮件应用程序还有一个,和其他电子邮件应用程序可能有自己的。

Sorry there is no general concept of "new email." Gmail has its own email database and management, the email app has another, and other email apps may have their own.

和肯定是有没有邮件服务器与电话子系统相关联。

And there is certainly no "email server" associated with the telephony subsystem.

阅读全文

相关推荐

最新文章