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 me.tassoevan.cordova.ForegroundService.java

public class ForegroundService extends Service {

    private static final int NOTIFICATION_ID = -574543954;

    private final Timer scheduler = new Timer();

From source file com.artur.softwareproject.BluetoothService.java

/**
 * Created by artur_000 on 14.05.2017.
 * This service handles the connection between smartphone and bluetooth device.
 */

public class BluetoothService extends Service {

From source file com.openerp.services.ContactSyncService.java

public class ContactSyncService extends Service {
    int mStartMode; // indicates how to behave if the service is killed
    IBinder mBinder; // interface for clients that bind
    boolean mAllowRebind; // indicates whether onRebind should be used

    /** The sync broadcast helper. */

From source file com.dahl.brendan.wordsearch.view.IOService.java

public class IOService extends Service {
    class Command implements Runnable {
        final private Intent intent;
        final private Context context;

        public Command(Context context, Intent intent) {

From source file fr.forexperts.service.DataService.java

/**
 * This service uses the yahoo finance API.
 * It permits to get the current price of the major crosses.
 */
public class DataService extends Service {
    /**

From source file com.diy.blelib.profile.BleProfileService.java

public abstract class BleProfileService extends Service implements BleManagerCallbacks {
    private static final String TAG = "BleProfileService";

    public static final String BROADCAST_CONNECTION_STATE = "com.xs.charge.BROADCAST_CONNECTION_STATE";
    public static final String BROADCAST_SERVICES_DISCOVERED = "com.xs.charge.BROADCAST_SERVICES_DISCOVERED";
    public static final String BROADCAST_BOND_STATE = "com.xs.charge.BROADCAST_BOND_STATE";

From source file com.mcongrove.glass.chucknorris.JokeService.java

/**
 * Service owning the LiveCard living in the timeline.
 */
public class JokeService extends Service {

    private static final String LIVE_CARD_ID = "ChuckNorris";

From source file cn.loveapple.client.android.shiba.service.RsyncProxyServerListService.java

/**
 * ???
 * 
 * @author $Author$
 * @version $Revision$
 * @date $Date$

From source file com.customprogrammingsolutions.MediaStreamer.MediaStreamerService.java

public class MediaStreamerService extends Service implements MediaPlayer.OnPreparedListener,
        MediaPlayer.OnErrorListener, MediaPlayer.OnCompletionListener, AudioManager.OnAudioFocusChangeListener {
    private final static String TAG = "MediaStreamer";

    public static final int AUDIO_FOCUS_DENIED_ERROR = 0;
    public static final int MEDIA_PLAYER_ERROR = 1;

From source file com.commonsware.android.webserver.simple.WebServerService.java

public class WebServerService extends Service {
    private AsyncHttpServer server;

    @Override
    public void onCreate() {
        super.onCreate();