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 li.barter.chat.ChatService.java

/**
 * Bound service to send and receive chat messages. The service will receive chat messages and
 * update them in the chats database. <br/> <br/> This service needs to be triggered in two cases -
 * <ol> <li>On application launch - This is done in {@link BarterLiApplication#onCreate()}</li>
 * <li>On network connectivity resumed(if it was lost) - This is done in {@link
 * NetworkChangeReceiver#onReceive(Context, Intent)}</li> </ol> <br/> This will take care of keeping

From source file org.codarama.haxsync.services.ContactsSyncAdapterService.java

/**
 * This class is scheduled for immanent destruction due, amongst other things : it being large, not
 * conforming to the single responsibility principle, etc.
 *
 * Ideally it's functions would be split into several different classes:
 * - SyncAdapter for contact photos

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

public class FileDownloader extends Service implements OnDatatransferProgressListener, OnAccountsUpdateListener {

    public static final String EXTRA_ACCOUNT = "ACCOUNT";
    public static final String EXTRA_FILE = "FILE";

    private static final String DOWNLOAD_ADDED_MESSAGE = "DOWNLOAD_ADDED";

From source file org.frc836.database.DBSyncService.java

public class DBSyncService extends Service {

    private static final String FILENAME = "DBtimestamp";

    private final IBinder mBinder = new LocalBinder();

From source file fr.bmartel.android.fadecandy.service.FadecandyService.java

/**
 * Fadecandy Server service.
 *
 * @author Bertrand Martel
 */
public class FadecandyService extends Service {

From source file edu.mit.mobile.android.locast.data.Sync.java

/**
 * A Simple Sync engine. Can do naive bi-directional sync with a server that exposes
 * a last modified or created date and a unique ID via a JSON API.
 *
 * To use, simply extend JsonSyncableItem and create the sync map. This mapping tells
 * the engine what JSON object properties sync to what local columns, as well as how

From source file com.t2.biofeedback.BioFeedbackService.java

/**
 * Background service for use with AndroidSpineServer.
 * Maintains list of Bluetooth devices which communicate with the main Spine server
 * Provides communication between individual Bluetooth devices
 * and the Spine Server.
 * 

From source file uk.ac.horizon.ubihelper.service.Service.java

/**
 * @author cmg
 *
 */
public class Service extends android.app.Service {
    static final String TAG = "ubihelper-svc";

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

public class GetFiresService extends Service {
    private NotificationManager mNotificationManager;
    NotificationCompat.Builder mBuilder;
    NotificationCompat.InboxStyle mInboxStyle;
    private final static int STATE_NOTIFY_ID = 777;

From source file com.android.calendar.alerts.AlertService.java

/**
 * This service is used to handle calendar event reminders.
 */
public class AlertService extends Service {
    // Hard limit to the number of notifications displayed.
    public static final int MAX_NOTIFICATIONS = 20;