Android tutorial / Ref : to access contacts, email and contacts using exchange activesync?

与世无争的帅哥 提交于 2019-12-10 21:27:40

问题


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

  1. whats exchange active sync? Is there any library to access outlook exchange.
  2. Is there tutorial to write android/java program to access outlook exchange (exchange activesync).
  3. 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,


回答1:


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 and com.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.




回答2:


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



来源:https://stackoverflow.com/questions/9164816/android-tutorial-ref-to-access-contacts-email-and-contacts-using-exchange-a

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!