开发者

Using content provider to fetch emails

开发者 https://www.devze.com 2023-03-29 12:51 出处:网络
I need to fetch 开发者_运维百科and list the received emails in my own layout listview. Is this possible through Content Provider?There are no documented and supported content providers for \"received

I need to fetch 开发者_运维百科and list the received emails in my own layout listview. Is this possible through Content Provider?


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.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消