使用内容提供商获取电子邮件 [英] Using content provider to fetch emails

查看:163
本文介绍了使用内容提供商获取电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要获取并列出接收到的电子邮件在我自己的布局列表视图。
这是可能的,通过内容提供商?

I need to fetch and list the received emails in my own layout listview. Is this possible through Content Provider?

推荐答案

有没有记载和支持的内容提供商接收的电子邮件。 电子邮件是不是真的操作系统的一部分(虽然有将其从早在2006 - 2007年的时间内几缠绵引用当有操作系统,应用程序之间没有明显的区别,以及SDK)。有大概有几百电子邮件客户端,其中只有一小部分可能有这样的内容提供商,以及大概没有标准,他们之间。

There are no documented and supported content providers for "received emails". "Email" is not really a part of the operating system (though there are a few lingering references to it from back in the 2006-2007 timeframe when there was no clear distinction between the OS, apps, and the SDK). There are probably hundreds of email clients, only a few of which might have such content providers, and probably no standards between them.

您会发现一些博客文章和其他在这里的答案在计算器上你那点为Gmail内容提供商。这是一个无证和不支持的内容提供商的一个例子。 它也只是由谷歌关闭了

You will find some blog posts and other answers here on StackOverflow that point you to a Gmail content provider. This is an example of an undocumented and unsupported content provider. It was also just closed off by Google.

欢迎您来写自己的电子邮件客户端,存储自己的电子邮件,并显示它们,你认为合适,虽然。

You are welcome to write your own email client, store your own emails, and display them as you see fit, though.

这篇关于使用内容提供商获取电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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