Example usage for android.app Service subclass-usage

List of usage examples for android.app Service subclass-usage

Introduction

In this page you can find the example usage for android.app Service subclass-usage.

Usage

From source file com.bonsai.btcreceive.WalletService.java

public class WalletService extends Service implements OnSharedPreferenceChangeListener {

    public static boolean mIsRunning = false;

    private static Logger mLogger = LoggerFactory.getLogger(WalletService.class);

From source file ch.ethz.twimight.net.opportunistic.ScanningService.java

import ch.ethz.twimight.util.Constants;
import ch.ethz.twimight.util.InternalStorageHelper;
import ch.ethz.twimight.util.SDCardHelper;

/**
 * This is the thread for scanning for Bluetooth peers.

From source file ac.robinson.bettertogether.hotspot.HotspotManagerService.java

public class HotspotManagerService extends Service {

    private static final String TAG = "HotspotManagerService";

    // with Android N and later, apps can't start access points - see: https://code.google.com/p/android/issues/detail?id=234003
    private static final boolean CREATE_WIFI_HOTSPOT_SUPPORTED = Build.VERSION.SDK_INT < Build.VERSION_CODES.N;

From source file edu.mit.mobile.android.locast.sync.MediaSync.java

public class MediaSync extends Service implements MediaScannerConnectionClient {
    private final static String TAG = MediaSync.class.getSimpleName();

    /*
     * public interface
     */

From source file com.owncloud.android.files.services.FileUploader.java

import com.owncloud.android.operations.common.SyncOperation;
import com.owncloud.android.ui.activity.FileActivity;
import com.owncloud.android.ui.activity.FileDisplayActivity;
import com.owncloud.android.utils.ErrorMessageAdapter;
import com.owncloud.android.utils.UriUtils;

From source file android.support.v7.media.MediaRouteProviderService.java

/**
 * Base class for media route provider services.
 * <p>
 * A media router will bind to media route provider services when a callback is added via
 * {@link MediaRouter#addCallback(MediaRouteSelector, MediaRouter.Callback, int)} with a discovery
 * flag: {@link MediaRouter#CALLBACK_FLAG_REQUEST_DISCOVERY},

From source file edu.mit.mobile.android.locast.sync.AbsMediaSync.java

public abstract class AbsMediaSync extends Service implements MediaScannerConnectionClient {
    private final static String TAG = AbsMediaSync.class.getSimpleName();

    /*
     * public interface
     */

From source file com.cerema.cloud2.files.services.FileUploader.java

public class FileUploader extends Service implements OnDatatransferProgressListener, OnAccountsUpdateListener {

    private static final String UPLOAD_FINISH_MESSAGE = "UPLOAD_FINISH";
    public static final String EXTRA_UPLOAD_RESULT = "RESULT";
    public static final String EXTRA_REMOTE_PATH = "REMOTE_PATH";
    public static final String EXTRA_OLD_REMOTE_PATH = "OLD_REMOTE_PATH";

From source file com.digitalarx.android.files.services.FileUploader.java

public class FileUploader extends Service implements OnDatatransferProgressListener {

    private static final String UPLOAD_FINISH_MESSAGE = "UPLOAD_FINISH";
    public static final String EXTRA_UPLOAD_RESULT = "RESULT";
    public static final String EXTRA_REMOTE_PATH = "REMOTE_PATH";
    public static final String EXTRA_OLD_REMOTE_PATH = "OLD_REMOTE_PATH";

From source file com.horizondigital.delta.UpdateService.java

public class UpdateService extends Service implements OnNetworkStateListener, OnBatteryStateListener,
        OnScreenStateListener, OnWantUpdateCheckListener, OnSharedPreferenceChangeListener {
    public static void start(Context context) {
        start(context, null);
    }