意图?如何注册要在接到电子邮件? [英] Intents? How to register to be alerted for incoming emails?

查看:133
本文介绍了意图?如何注册要在接到电子邮件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

至尊Android开发新手在这里...好,新的Andr​​oid开发,不是一般的发展。

Extreme Android developer newbie here...well, new to Android development, not development in general.

我想要写电子邮件的时候来到这个设备得到通知,并采取基于电子邮件数据的各种操作的应用程序(主题,发件人,要等)。我想我要做的就是创建一个带有IntentFilter的一个BroadcastReceiver。我遇到的问题是搞清楚什么意图(S)我需要监听。任何人都可以点我在正确的方向?谢谢你。

I want to write an application that gets notified when emails come into the device, and takes various actions based on data in the email (subject, sender, to, etc). I think what I have to do is create a BroadcastReceiver with an IntentFilter. The problem I'm having is figuring out what Intent(s) I need to "listen" for. Can anyone point me in the right direction? Thanks.

推荐答案

有没有广播意图传入电子邮件。电子邮件在应用层的处理,并且有很多可能的电子邮件客户端。

There are no broadcast Intents for incoming emails. Email is handled at the application level, and there are lots of possible email clients.

抱歉!

这篇关于意图?如何注册要在接到电子邮件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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