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.android.providers.downloads.DownloadService.java

/**
 * Performs background downloads as requested by applications that use
 * {@link DownloadManager}. Multiple start commands can be issued at this
 * service, and it will continue running until no downloads are being actively
 * processed. It may schedule alarms to resume downloads in future.
 * <p>

From source file de.yaacc.upnp.server.YaaccUpnpServerService.java

/**
 * A simple local upnp server implementation. This class encapsulate the creation
 * and registration of local upnp services. it is implemented as a android
 * service in order to run in background
 * 
 * @author Tobias Schoene (openbit)

From source file de.tudarmstadt.dvs.myhealthassistant.myhealthhub.services.messagehandler.MessageHandler.java

public class MessageHandler extends Service {

    /** For Debugging */
    private static final String TAG = "MessageHandler";
    private static boolean D = false;

From source file edu.missouri.bas.service.SensorService.java

public class SensorService extends Service implements GooglePlayServicesClient.ConnectionCallbacks,
        GooglePlayServicesClient.OnConnectionFailedListener {

    private final String TAG = "SensorService";
    /*
     * Android component variables used by the service

From source file com.devbrackets.android.playlistcore.service.PlaylistServiceCore.java

/**
 * A base service for adding media playback support using the {@link BasePlaylistManager}.
 * <p>
 * This service will request a wifi wakelock if the item being played isn't
 * downloaded (see {@link #isDownloaded(IPlaylistItem)}) and the manifest permission
 * &lt;uses-permission android:name="android.permission.WAKE_LOCK" /&gt;

From source file br.com.bioscada.apps.biotracks.services.TrackRecordingService.java

/**
 * A background service that registers a location listener and records track
 * points. Track points are saved to the {@link MyTracksProvider}.
 *
 * @author Leif Hendrik Wilden
 */

From source file com.aware.Aware.java

import java.util.ArrayList;
import java.util.Map;
import java.util.Random;
import java.util.UUID;

/**

From source file com.dzt.musicplay.player.AudioService.java

public class AudioService extends Service {

    private static final String TAG = "VLC/AudioService";

    private static final int SHOW_PROGRESS = 0;
    private static final int SHOW_TOAST = 1;

From source file com.coinblesk.payments.WalletService.java

/**
 * @author Andreas Albrecht
 * @author Alessandro De Carli
 */
public class WalletService extends Service {
    private final static String TAG = WalletService.class.getName();

From source file org.torproject.android.service.TorService.java

public class TorService extends Service implements TorServiceConstants, OrbotConstants, EventHandler {

    private String mCurrentStatus = STATUS_OFF;

    private final static int CONTROL_SOCKET_TIMEOUT = 0;