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.aniruddhc.acemusic.player.Services.AutoFetchAlbumArtService.java

public class AutoFetchAlbumArtService extends Service {

    private Context mContext;
    private SharedPreferences sharedPreferences;
    public static NotificationCompat.Builder builder;
    public static Notification notification;

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

/**
 * Created by Martin Kern on 15.05.2017.
 * This Service gets the data from the barometer.
 */

public class BaroService extends Service implements SensorEventListener {

From source file com.almalence.opencam.NotificationService.java

public class NotificationService extends Service {

    private static final int NOTIFICATION_ID = 10;
    private Notification notification;
    private boolean notificationShown = false;
    private int notificationCount = 0;

From source file com.doomy.overflow.SendService.java

public class SendService extends Service {

    private static final String TAG = "SendService";
    private NotificationManager mNotifyManager;
    private NotificationCompat.Builder mBuilder;
    private String mFullName;

From source file org.linkdroid.WebhookPostService.java

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

    public static final String KEY_WEBHOOK_BUNDLE = "webhook";
    public static final String KEY_DATA_BUNDLE = "data";
    public static final String KEY_USER_INPUT = "user_input";

From source file mnc.beacon.mainservice.BeaconListForwardService.java

/**
 * Activity for scanning and displaying available Bluetooth LE devices.
 */
public class BeaconListForwardService extends Service {

    // private LeDeviceListAdapter mLeDeviceListAdapter;

From source file com.adityarathi.muo.services.BuildMusicLibraryService.java

public class BuildMusicLibraryService extends Service
        implements AsyncBuildLibraryTask.OnBuildLibraryProgressUpdate {

    private Context mContext;
    private NotificationCompat.Builder mBuilder;
    private Notification mNotification;

From source file com.commonsware.android.service.ouroboros.AbstractSillyService.java

abstract public class AbstractSillyService extends Service {
    abstract protected Class<? extends AbstractSillyService> getOtherClass();

    static final String EXTRA_FOREGROUND = "foreground";
    static final String EXTRA_BROADCAST_HACK = "hack";

From source file com.Duo.music.player.Services.BuildMusicLibraryService.java

public class BuildMusicLibraryService extends Service
        implements AsyncBuildLibraryTask.OnBuildLibraryProgressUpdate {

    private Context mContext;
    private NotificationCompat.Builder mBuilder;
    private Notification mNotification;

From source file com.tejus.shavedog.HttpServerServiceImpl.java

/**
 * @author Christian Bauer
 */
public class HttpServerServiceImpl extends Service {

    protected Binder binder = new Binder();