Android 教程/参考:使用 Exchange ActiveSync 访问联系人、电子邮件和联系人?
我计划开发 Android 应用程序来同步 Outlook Exchange 联系人和邮件到 myapp。 我用谷歌搜索但没有得到任何相关教程。我仅获得设置活动同步和其他第三方应用程序的结果。有人请指导我了解
- 什么是交换主动同步吗?是否有任何图书馆可以访问 Outlook Exchange。
- 有教程编写 android/java 程序来访问 Outlook Exchange (exchange activesync)。
- 有开源项目吗?
我可能误解了关于 Exchange ActiveSync 的内容。请指导我通过参考好的教程/博客来完成我的项目,以完全理解这个概念。
谢谢,
I planed to develop android app to sync outlook exchange contacts and mail to myapp.
I googled it but not get any tutorial regarding that. I only gets the result to setup active sync and other third party apps. Any one please guide me to understand
- whats exchange active sync? Is there any library to access outlook exchange.
- Is there tutorial to write android/java program to access outlook exchange (exchange activesync).
- is there any open source project?
I may misunderstood the about exchange activesync.. please guide me to complete my project by referring good tutorials/blogs to completely understand this concepts..
Thank you,
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
问题 1 和问题 1 2 和 3:嗯,我猜最好的教程/示例是 Google 提供的现有的 Exchange 同步适配器。这也是一个开源(Apache 许可证)项目。
这是针对 ICS 的,您应该首先查看以下部分:
从AndroidManifest.xml中我们可以看到
com.android.exchange.EmailSyncAdapterService
,com.android.exchange.ContactsSyncAdapterService
和com.android.exchange.CalendarSyncAdapterService
全部实现 SyncAdapter API,从而为您提供搜索的起点。如果您需要来自 Gingerbread (或更早版本)的代码,您应该检查 GIT用于以前用于容纳 Exchange 同步适配器的电子邮件应用程序。
Question 1 & 2 and 3: Well, the best tutorial/example would be the already existing Exchange sync adapter provided by Google I guess. This is also an open-source (Apache license) project.
This one is for ICS, where you should start by checking out the following sections:
From the AndroidManifest.xml we can see that
com.android.exchange.EmailSyncAdapterService
,com.android.exchange.ContactsSyncAdapterService
andcom.android.exchange.CalendarSyncAdapterService
all implement the SyncAdapter API, thus providing you with a starting point for your search.If you need code from Gingerbread (or earlier) you should check the GIT for the Email app which used to house the Exchange sync adapter previously.
我相信有关 Exchange ActiveSync 的最佳资源是 http://technet.microsoft.com/ en-us/library/aa998357.aspx
此外,据我所知,微软拥有多项专利,并且需要许可证才能实现客户端软件,因此我认为没有任何开源实现。
正是出于这个原因,即使谷歌也为 Android 上的交换服务器提供了非常有限的支持
I believe the best resource about exchange activesync is http://technet.microsoft.com/en-us/library/aa998357.aspx
Further AFAIK microsoft holds multiple patents and requires license to implement the client software, so i dont think there are any open source implementations.
For this exact reason even google provides a very limited support for exchange server on android