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,
Any feedback would be appreciated...
thank you
--
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
1) SyncResult is your friend. A SyncResult object is passed to the
sync adapter's onPerformSync method. Fill it up before returning.
2) addStatusChangeListener is used mostly internally: for example,
settings UI uses it to update those icons representing sync status.
3) SyncContext is a
Thank you Dmitri,
1) SyncResult is your friend. A SyncResult object is passed to the
sync adapter's onPerformSync method. Fill it up before returning.
Ok, but if a sync request is not propagated to the sync adapter for
some reason, how can I observe this fail?
Actually I'm blocked with the
4 matches
Mail list logo