Confirmed users
360
edits
(Created page with "== Needs == * Phase 1: A WBXML parser ** WBXML Parser ([http://www.w3.org/TR/wbxml/ spec]) * Phase 2: Base activesync support. It's an HTTP protocol, but additional work is req...") |
No edit summary |
||
| Line 25: | Line 25: | ||
git clone https://android.googlesource.com/platform/packages/apps/Exchange | git clone https://android.googlesource.com/platform/packages/apps/Exchange | ||
It seems to have a lot of useful information in it. Given that it is Apache licensed and we are Apache licensed, it makes a lot of sense to learn from the code and/or just port things where appropriate. The exception is that their sync logic is somewhat directly built-in to their protocol logic, and we would like our protocol logic separated. | |||
Notable bits: | Notable bits: | ||
| Line 35: | Line 37: | ||
** search logic: src/com/android/exchange/adapter/Search.java | ** search logic: src/com/android/exchange/adapter/Search.java | ||
Its WBXML parser uses a pull-parser idiom. | Its WBXML parser uses a pull-parser idiom. We can stick with that or build a DOM; either way is probably fine. If building a DOM, we probably just want to build a simple JS representation rather than trying to build an actual XML document using Firefox's underlying XML DOM support. | ||
== Documentation == | == Documentation == | ||
| Line 42: | Line 44: | ||
* [http://msdn.microsoft.com/en-us/library/cc425499%28EXCHG.80%29.aspx Exchange Server Protocol Docs] | * [http://msdn.microsoft.com/en-us/library/cc425499%28EXCHG.80%29.aspx Exchange Server Protocol Docs] | ||
** [http://msdn.microsoft.com/en-us/library/dd299442%28v=exchg.80%29 MS-ASWBXML] Defines the code pages, their tags, and the tokens used to represent the tags. | ** [http://msdn.microsoft.com/en-us/library/dd299442%28v=exchg.80%29 MS-ASWBXML] Defines the code pages, their tags, and the tokens used to represent the tags. | ||
** [http://msdn.microsoft.com/en-us/library/dd299441%28v=exchg.80%29.aspx core sync commands] | |||
** [http://msdn.microsoft.com/en-us/library/dd299457%28v=exchg.80%29 MS-ASEMAIL] Email stuff. | ** [http://msdn.microsoft.com/en-us/library/dd299457%28v=exchg.80%29 MS-ASEMAIL] Email stuff. | ||