Mobile Web

Data Synchronization

You can synchronize device data, such as contacts and calendar events, with the OMA DS server using the OMA DS (Data Synchronization) 1.2 protocol.

This feature is supported in mobile applications only.

The main features of the Data Synchronization API include:

  • Checking for free profile slot

    Tizen sets a limitation on the number of supported OMA DS profiles on the device, so you must first check whether there is a profile slot available.

    You can check whether sync profile slots are available using the getProfilesNum() and getMaxProfilesNum() methods of the DataSynchronizationManager interface.

  • Creating a sync profile

    You can create a profile using the SyncProfileInfo interface. You can define the profile name and provide various information defined using the SyncInfo and SyncServiceInfo interfaces.

  • Retrieving synchronization process information

    After starting the synchronization process using the startSync() method of the DataSynchronizationManager interface, you can monitor the progress of the operation. Use the SyncProgressCallback interface to define listeners for receiving notifications. After the synchronization is completed, you can retrieve statistics using the getLastSyncStatistics() method.

Note
As a prerequisite to synchronizing your device data with the server, you must create an OMA DS server account.
Go to top