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 org.mythdroid.util.UpdateService.java

/** An update checker for MythDroid and MDD */
@TargetApi(8)
public class UpdateService extends Service {

    /** ACTION intent extra value to check for MythDroid updates */
    final public static int CHECKMD = 0;

From source file net.sf.asap.PlayerService.java

public class PlayerService extends Service implements Runnable, MediaController.MediaPlayerControl {
    private Uri uri;
    int song;
    private static final int SONG_DEFAULT = -1;
    private static final int SONG_LAST = -2;

From source file ch.nexuscomputing.android.osciprimeics.OsciPrimeService.java

public class OsciPrimeService extends Service implements IServiceSinkInterface {
    private OsciPrimeApplication mApplication;

    private static final int NOTIFICATION_ID = 1337;
    protected static final int RUNNING = 0;
    protected static final int IDLE = 1;

From source file ca.mcgill.hs.serv.LogFileUploaderService.java

/**
 * A service for uploading data files to a web server. When this service starts,
 * it retrieves the list of saved files. Then, if an option is set, it will
 * attempt to connect 3 times to a wifi connection. Afterwards, it will upload
 * the files, recording error codes. Finally, it will toast the user to alert
 * them of the success or failure of the operation.

From source file com.appdevper.mediaplayer.app.MusicService.java

public class MusicService extends Service implements PlaybackManager.PlaybackServiceCallback {

    // Extra on MediaSession that contains the Cast device name currently connected to
    public static final String EXTRA_CONNECTED_CAST = "com.appdevper.mediaplayer.CAST_NAME";
    // The action of the incoming Intent indicating that it contains a command
    // to be executed (see {@link #onStartCommand})

From source file io.scalac.locationprovider.SendMockLocationService.java

/**
 * A Service that injects test Location objects into the Location Services back-end. All other
 * apps that are connected to Location Services will see the test location values instead of
 * real values, until the test is over.
 * <p/>
 * To use this service, define the mock location values you want to use in the class

From source file com.nextgis.firereporter.ReporterService.java

public class ReporterService extends Service {

    private static final String TAG = "ReporterService";

    public static final String ACTION_START = "com.nextgis.firereporter.sendpos.action.START";
    public static final String ACTION_STOP = "com.nextgis.firereporter.sendpos.action.STOP";

From source file org.c99.SyncProviderDemo.NoticiasSyncAdapterService.java

/**
 * @author sam
 * 
 */
public class NoticiasSyncAdapterService extends Service {
    private static final String TAG = "NoticiasSyncAdapterService";

From source file org.physical_web.physicalweb.UrlDeviceDiscoveryService.java

/**
 * This is a service that scans for nearby Physical Web Objects.
 * It is created by MainActivity.
 * It finds nearby ble beacons,
 * and stores a count of them.
 * It also listens for screen on/off events

From source file com.amaze.carbonfilemanager.services.ZipTask.java

public class ZipTask extends Service {

    NotificationManager mNotifyManager;
    NotificationCompat.Builder mBuilder;
    String mZipPath;
    Context c;