Example usage for android.content AbstractThreadedSyncAdapter subclass-usage

List of usage examples for android.content AbstractThreadedSyncAdapter subclass-usage

Introduction

In this page you can find the example usage for android.content AbstractThreadedSyncAdapter subclass-usage.

Usage

From source file com.ntsync.android.sync.syncadapter.SyncAdapter.java

/**
 * implementation for syncing sample SyncAdapter contacts to the platform
 * ContactOperations provider. This sample shows a basic 2-way sync between the
 * client and a sample server. It also contains an example of how to update the
 * contacts' status messages, which would be useful for a messaging or social
 * networking client.

From source file edu.vu.isis.ammo.dash.provider.IncidentSyncAdaptor.java

/**
 * SyncAdapter implementation for syncing sample SyncAdapter contacts to the
 * platform ContactOperations provider.
 */
public class IncidentSyncAdaptor extends AbstractThreadedSyncAdapter {
    private final Logger logger = LoggerFactory.getLogger("class.IncidentSyncAdaptor");

From source file org.totschnig.myexpenses.sync.SyncAdapter.java

public class SyncAdapter extends AbstractThreadedSyncAdapter {
    public static final int BATCH_SIZE = 100;

    public static String KEY_LAST_SYNCED_REMOTE(long accountId) {
        return "last_synced_remote_" + accountId;
    }

From source file com.roamprocess1.roaming4world.syncadapter.SyncAdapter.java

/**
 * Define a sync adapter for the app.
 *
 * <p>This class is instantiated in {@link SyncService}, which also binds SyncAdapter to the system.
 * SyncAdapter should only be initialized in SyncService, never anywhere else.
 *

From source file net.sf.diningout.content.SyncAdapter.java

/**
 * Synchronises the content provider with the server.
 */
public class SyncAdapter extends AbstractThreadedSyncAdapter {
    private static final String TAG = SyncAdapter.class.getSimpleName();
    private static final String PROJECT_ID = "77419503291"; // from Google Developers Console