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.air.mobilebrowser.ActivityWatchService.java

/**
 * This Service runs in the background while the Secure Browser is active. It
 * performs a check at a scheduled interval to determine the secure status of
 * the application. If it is detected that the Secure Browser is not the active
 * foreground activity. It automatically restarts the browser, bringing it to the front
 * of the activity stack. 

From source file com.apps.howard.vicissitude.services.NotificationService.java

/**
 * Service responsible for displaying the alerts
 * (Including sounds and vibration)
 */
public class NotificationService extends Service {

From source file com.app.swaedes.swaedes.GPSTracker.java

public class GPSTracker extends Service implements LocationListener {

    private final Context mContext;

    // flag for GPS status
    boolean isGPSEnabled = false;

From source file com.commonsware.android.andshooter.ScreenshotService.java

public class ScreenshotService extends Service {
    private static final int NOTIFY_ID = 9906;
    static final String EXTRA_RESULT_CODE = "resultCode";
    static final String EXTRA_RESULT_INTENT = "resultIntent";
    static final String ACTION_RECORD = BuildConfig.APPLICATION_ID + ".RECORD";
    static final String ACTION_SHUTDOWN = BuildConfig.APPLICATION_ID + ".SHUTDOWN";

From source file com.owncloud.android.services.observer.SyncedFolderObserverService.java

public class SyncedFolderObserverService extends Service {
    private static final String TAG = "SyncedFolderObserverService";

    private static final int MONITOR_SCAN_INTERVAL = 1000;

    private final IBinder mBinder = new SyncedFolderObserverBinder();

From source file com.daiv.android.twitter.services.SendQueue.java

public class SendQueue extends Service {
    private static final String TAG = SendQueue.class.getSimpleName();

    @Override
    public IBinder onBind(Intent intent) {
        return null;

From source file com.alphabetbloc.accessmrs.services.RefreshDataService.java

/**
 * 
 * @author Louis Fazen (louis.fazen@gmail.com) This checks the user activity
 *         before refreshing the patient list as background service or
 *         foreground activity.
 */

From source file csic.ceab.movelab.beepath.SensorGet.java

/**
 * Service for recording Accelerometer data.
 * <p>
 * Dependencies: BeePathBroadcastReceiver.java, FixGet.java.
 * <p>
 * 

From source file android.romstats.ReportingService.java

public class ReportingService extends Service {

    private StatsUploadTask mTask;

    @Override
    public IBinder onBind(Intent intent) {

From source file cc.psdev.heywifi.MainService.java

public class MainService extends Service implements Runnable {

    WifiManager wm;
    ConnectivityManager cm;
    List<ScanResult> scanResult;
    NetworkInfo ni;