Примеры использования Sync adapter на Английском языке и их переводы на Русский язык
{-}
-
Official
-
Colloquial
can be used by any application or sync adapter that works with the Contacts Provider.
represents a type of custom data row that your sync adapter adds to the ContactsContract. Data table.
then put this contact in a new group, the sync adapter must add the new group to the ContactsContract. Groups table.
so you should only insert new calendars as a sync adapter.
There are only minor differences in how an application and a sync adapter access the Calendar Provider.
you need to write your own sync adapter.
If an application or sync adapter creates a new raw contact that does match an existing contact, the new raw contact is aggregated to the existing contact.
Otherwise, sync adapter modifications appear to be local modifications
Making modifications from a sync adapter is also covered in more detail in the section Contacts Provider sync adapters. .
This signals the sync adapter that it should create a new raw contact on the server, and get a value for the SOURCE_ID.
If you're designing a sync adapter that will add raw contact data from server to the Contacts Provider,
often used in conjunction with, the sync adapter framework.
For a discussion of how sync adapters are different, see Sync Adapters. .
Contacts Provider sync adapters.
This is described in more detail in the section Contacts Provider sync adapters.
The Calendar Provider API can be used by applications and sync adapters.
Sync adapters. A sync adapter synchronizes the calendar data on a user's device with another server or data source.
The framework also allows multiple sync adapters for the same service and provider.
Through the Calendar Provider API, applications and sync adapters can get read/write access to the database tables that hold a user's calendar data.
Sync adapters that modify the raw contact or data tables should always append the string CALLER_IS_SYNCADAPTER