Hi guys,

Can you guys show me some examples of code to implement a SyncAdapter
to sync contacts with the backend since the documents for sync adapter
is extremely brief even the API and I have no idea where to start.

One more thing, in the raw_contact table, there are 4 fields: sync1,
sync2, sync3 and sync4. What are they for ? How do you use it through
a sync adapter ?

Any help will be much appreciated, I'm really stuck here :(

Thanks in advance.

On Dec 16, 3:52 am, sazilla <[email protected]> wrote:
> Thank you Dmitri,
>
> > 1) SyncResult is your friend. A SyncResult object is passed to the
> >syncadapter'sonPerformSync method.  Fill it up before returning.
>
> Ok, but if asyncrequest is not propagated to thesyncadapterfor
> some reason, how can I observe this fail?
>
> Actually I'm blocked with the contacts application issue. It seems
> that there is a bug in Android source code which doesn't allow a
> custom account to display the input fields into the contacts
> application, when adding/editing contacts. I works only if you view
> these contacts, this is the case of the Facebook application which
> creates a read only account, annd allows only to view the stored
> contacts.
> I was wondering if there is any application which creates a custom
> account and then is able to add contacts to that account...
>
> Thank you again
>
> Carlo

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to