3

How do I implement activesync protocol in iphone app? Any advice, any docs and tutorials are well come.

I have read the Exchange ActiveSync and iOS 4 Devices from apple. Is there any real docs for this?

4

4 に答える 4

12

Despite having asked a question in the comment, you might be looking for the Microsoft documentation of the Exchange Server Protocols.

If you're thinking of implementing your own client though, I would strongly advise you to pause and consider whether it's really worth it. As someone who's worked on a server-side implementation of these protocols, I can tell you they can get pretty complicated - and the documentation doesn't always give you enough information. (In some areas it's flat out wrong, too.)

于 2011-02-22T07:50:39.023 に答える
5

It is hard, but not impossible to write an app which communicates via exchange active sync. The link to the Exchange Server Protocols in Jons answer contains a document named MS-ASWBXML. You have to write an encoder for wbxml on your own and the document describes clearly the needs. Additionaly I recommend strongly this document: http://www.w3.org/TR/wbxml/

If the low level is working, you have to implement the EAS-protocol on top ob wbxml, which is not trivial, because of bugs in the documentation, different behaviour of different protocol versions. It will be a lot of trial an error to examine, why the exchange server does not understand your requests ;-)

于 2011-02-25T15:14:21.253 に答える
4

Using Apple's built in support just means using Apple's APIs for writing to the Address Book and Calendar Store on the phone. Your app isn't supposed to know anything about the way that data is synchronised: it just happens in the background.

If you want direct control over the synchronisation process, then Apple's APIs cannot help you. Jon Skeet's answer contains a link to Microsoft's protocol documentation, but as he mentioned you'll be setting yourself up for a world of pain.

于 2011-02-22T10:30:15.053 に答える
2

EASは、通常のアプリケーション開発ではなく、デバイスメーカーが実装することを目的としています。ActiveSyncプロトコルのドキュメントを調べて、プロトコルのライセンス(有料ライセンス)を調べてから、すべてのビジネスロジック、コーディングロジック、集中テスト、およびライセンスを作成するのに苦労する価値があるかどうかを自問してください。別の方法は、Exchange Webサービス(EWS)を使用することです。これは、はるかに適している可能性があります。多くの領域でより堅牢で、ライセンスは必要ありません。

こちらもご覧ください:http: //blogs.msdn.com/b/webdav_101/archive/2011/09/29/new-to-exchange-activesync-development.aspx

于 2012-02-24T21:53:55.953 に答える