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.nextgis.mobile.DataSendService.java

public class DataSendService extends Service {

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

    private SQLiteDatabase PositionDB;

From source file se.lu.nateko.edca.BackboneSvc.java

/********************************COPYRIGHT***********************************
 * This file is part of the Emergency Data Collector for Android (EDCA).   *
 * Copyright  2013 Mattias Spngmyr.                              *
 *                                                          *
 *********************************LICENSE************************************
 * EDCA is free software: you can redistribute it and/or modify it under   *

From source file riddimon.android.asianetautologin.LoginService.java

public class LoginService extends Service {
    private static final Logger logger = LoggerFactory.getLogger(LoginService.class);
    private static final int REQUEST_CODE = 100;
    private static final long REPEAT_FREQ = 5 * DateUtils.MINUTE_IN_MILLIS;

    public static final String ACTION_LOGIN = "action_login";

From source file com.dellingertech.andevcon.mocklocationprovider.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.
 *
 * To use this service, define the mock location values you want to use in the class

From source file com.cognizant.glass.bluetoothconnect.DemoAppRecieverService.java

/**
 * @author 409870 the background service class that handles the connection.
 * 
 */
@SuppressLint("NewApi")
public class DemoAppRecieverService extends Service {

From source file com.perm.DoomPlay.PlayingService.java

public class PlayingService extends Service
        implements BassPlayer.OnCompletionListener, SharedPreferences.OnSharedPreferenceChangeListener {
    public final static String actionTrackChanged = "DoomedTrackChanged";
    public final static String actionIconPlay = "DoomedPlayPlay";
    public final static String actionIconPause = "DoomedPlaPause";

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

/**
 * A wrapper to {@link SyncEngine} which provides the interface to the
 * {@link ContentResolver} sync framework.
 *
 * There are some helper static methods to simplify the creation of the
 * {@link ContentResolver#requestSync(Account, String, Bundle)} calls. See

From source file ca.luniv.afr.service.FeedRetrieverService.java

public class FeedRetrieverService extends Service {
    private BlockingQueue<Feed> queue;
    private NotificationManager notificationManager;
    private Thread thread;

    private final IFeedRetrieverService.Stub binder = new IFeedRetrieverService.Stub() {

From source file com.baidar.androidChatter.serve.MessagingService.java

/**
 * This is an example of implementing an application service that runs locally
 * in the same process as the application.  The {@link LocalServiceController}
 * and {@link LocalServiceBinding} classes show how to interact with the
 * service.
 *

From source file air.com.snagfilms.cast.chromecast.notifications.VideoCastNotificationService.java

/**
 * A service to provide status bar Notifications when we are casting. For JB+
 * versions, notification area provides a play/pause toggle and an "x" button to
 * disconnect but that for GB, we do not show that due to the framework
 * limitations.
 */