java 是否有开源的 Android 电子邮件客户端?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/7035743/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Is there an open source Android email client?
提问by Chris Stratton
I'm trying to create an email application which is depending upon the same function of our android mobile's default email application. How can I get that default email functions source code?
我正在尝试创建一个电子邮件应用程序,它依赖于我们的 android 手机默认电子邮件应用程序的相同功能。如何获得默认的电子邮件功能源代码?
回答by Phil
I think what you are looking for is K-9 mail. It looks like you're in luck. it's open source on github: https://github.com/k9mail/k-9
我认为您正在寻找的是 K-9 邮件。看起来你很幸运。它在 github 上是开源的:https: //github.com/k9mail/k-9
回答by Chris Stratton
For sake of completeness, the source of the default Email application is available at
为完整起见,默认电子邮件应用程序的来源可在
http://android.git.kernel.org/?p=platform/packages/apps/Email.git;a=summary.
http://android.git.kernel.org/?p=platform/packages/apps/Email.git;a=summary。
EDIT: Palaniraja suggests the following alternate link, however it does not support the source browsing capability of the discontinued original repository.
编辑:Palaniraja 建议使用以下备用链接,但它不支持已停产的原始存储库的源浏览功能。
https://android.googlesource.com/platform/packages/apps/Email/
https://android.googlesource.com/platform/packages/apps/Email/
However, it will (or at least used to) require a fair amount of adaptation before it can be built with the SDK, as it was originally designed to be built with the platform build system before decisions about APIs available under the SDK were finalized. Unless that has changed, you may be better off working with some other codebase that someone has already adapted for SDK use.
但是,在使用 SDK 构建之前,它将(或至少曾经)需要大量的调整,因为它最初设计为在最终确定 SDK 下可用的 API 之前使用平台构建系统构建。除非这种情况发生了变化,否则您最好使用其他一些已经为 SDK 使用而改编的代码库。
回答by Veljko
maybe this will help you: http://java.sun.com/developer/onlineTraining/JavaMail/contents.html
也许这会帮助你:http: //java.sun.com/developer/onlineTraining/JavaMail/contents.html
i've used that for my own gmail client app.
我已经将它用于我自己的 Gmail 客户端应用程序。