List of usage examples for android.content AbstractThreadedSyncAdapter subclass-usage
From source file com.upenn.chriswang1990.sunshine.sync.SunshineSyncAdapter.java
public class SunshineSyncAdapter extends AbstractThreadedSyncAdapter { // Interval at which to sync with the weather, in seconds. // 60 seconds (1 minute) * 180 = 3 hours private static final int SYNC_INTERVAL = 60 * 180; private static final int SYNC_FLEXTIME = SYNC_INTERVAL / 3; private static final long DAY_IN_MILLIS = 1000 * 60 * 60 * 24;
From source file com.rukman.emde.smsgroups.syncadapter.SyncAdapter.java
/**
* SyncAdapter 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 dev.drsoran.moloko.sync.SyncAdapter.java
/** * SyncAdapter implementation for syncing to the platform RTM provider. */ public final class SyncAdapter extends AbstractThreadedSyncAdapter { private final static Class<SyncAdapter> TAG = SyncAdapter.class;
From source file com.glandorf1.joe.wsprnetviewer.app.sync.WsprNetViewerSyncAdapter.java
public class WsprNetViewerSyncAdapter extends AbstractThreadedSyncAdapter { private static final int WSPR_NOTIFICATION_ID = 3004; // TODO: is NOTIFICATION_ID chosen at random? private static final String LOG_TAG = WsprNetViewerSyncAdapter.class.getSimpleName(); // Default interval at which to sync with wsprnet.org, in seconds. public static final int SYNC_INTERVAL = 60 * 60; // 1 hour public static final int SYNC_FLEXTIME = SYNC_INTERVAL / 4; // +/- 15 minutes
From source file com.example.igorklimov.popularmoviesdemo.sync.SyncAdapter.java
/** * Handle the transfer of data between a server and an * app, using the Android sync adapter framework. */ public class SyncAdapter extends AbstractThreadedSyncAdapter { private static final String LOG_TAG = "SyncAdapter";
From source file com.hybris.mobile.lib.commerce.sync.CatalogSyncAdapter.java
/** * Sync adapter for the catalog */ public abstract class CatalogSyncAdapter extends AbstractThreadedSyncAdapter { private static final String TAG = CatalogSyncAdapter.class.getCanonicalName();
From source file com.example.android.network.sync.basicsyncadapter.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 org.ohmage.sync.OhmageSyncAdapter.java
/** * Handle the transfer of data between a server the ohmage app using the Android sync adapter * framework. */ public class OhmageSyncAdapter extends AbstractThreadedSyncAdapter {
From source file me.philio.ghost.sync.SyncAdapter.java
/** * Sync adapter * * Created by phil on 04/12/2014. */ public class SyncAdapter extends AbstractThreadedSyncAdapter {
From source file org.exfio.csyncdroid.syncadapter.WeaveSyncAdapter.java
public abstract class WeaveSyncAdapter extends AbstractThreadedSyncAdapter implements Closeable { private final static String TAG = "exfio.WeaveSyncAdapter"; @Getter private static String androidID;