You could check the Email app - its the current location of the
Exchange ActiveSync SyncAdapter implementation.

http://android.git.kernel.org/?p=platform/packages/apps/Email.git;a=summary

Note that this adapter isn't the complete story as any contacts you
create with your custom accounts will be next to useless without
looking into the wonky ExternalSource.java integration required for
custom adapters (unless your happy with contacts that only contains a
name and photo).

http://android.git.kernel.org/?p=platform/packages/apps/Contacts.git;a=tree;f=src/com/android/contacts/model;h=e58985879d5b88e3374b3fad847da3786e47ee94;hb=08d3445a85a65c56c0f09d24f871ffbd3b93187f

Sources.java contains the "super-special-let's-not-use-our-own-API:s-
because-that's-hard-work-and-might-require-us-to-actually-document-
anything-or-heaven-forbid-test-it" if-statement that determines the
layout of your contacts in the Contacts app - and gives super-special
treatment to accounts with the type "com.google" or
"com.android.exchange".

ExternalSource.java contains the sparse and incomplete API
documentation that you're going to have to use.



On 9 Jan, 22:16, joebowbeer <joe.bowb...@gmail.com> wrote:
> On Dec 10 2009, 7:03 am, ydario <mc6...@mclink.it> wrote:
>
> > I tried addingcontactscode to this project
>
> >http://code.google.com/p/androidaccounts/
>
> The referenced project no longer exists. Are there any similar
> projects to check out? If not, could someone who has a handle on this
> start a new project?
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to