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.cloud.storage.app.MyDownloadService.java

public class MyDownloadService extends Service {

    private static final String TAG = "Storage#DownloadService";

    /** Actions **/
    public static final String ACTION_DOWNLOAD = "action_download";

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

/**
 * Created by Martin Kern on 16.05.2017.
 * This service gets the data from the GPS module.
 */

public class GpsService extends Service implements LocationListener, Runnable {

From source file com.app.encontreibvrr.uploadImagem.MyDownloadService.java

public class MyDownloadService extends Service {

    private static final String TAG = "Storage#DownloadService";

    /** Actions **/
    public static final String ACTION_DOWNLOAD = "action_download";

From source file com.andrewshu.android.reddit.mail.EnvelopeService.java

/**
 * This is an example of implementing an application service that will run in
 * response to an alarm, allowing us to move long duration work out of an
 * intent receiver.
 * 
 * @see AlarmService

From source file com.jieehd.villain.toolkit.stats.ReportingService.java

public class ReportingService extends Service {
    protected static final String TAG = "VRStats";

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

From source file br.com.maracujas.classicrockwallpapersfinal.MyDownloadService.java

public class MyDownloadService extends Service {

    private static final String TAG = "Storage#DownloadService";

    /** Actions **/
    public static final String ACTION_DOWNLOAD = "action_download";

From source file org.linkdroid.BroadcastReceiverService.java

public class BroadcastReceiverService extends Service implements IntentFilterColumns {
    private static final String TAG = "BroadcastReceiverService";

    private static final String ACTION_SMS_RECEIVED = "android.provider.Telephony.SMS_RECEIVED";

    private final BroadcastReceiver smsReceiver = new SmsReceiver();

From source file com.sharky.BillingService.java

public class BillingService extends Service implements ServiceConnection {
    private static IMarketBillingService mService;

    private static LinkedList<BillingRequest> mPendingRequests = new LinkedList<BillingRequest>();

    private static HashMap<Long, BillingRequest> mSentRequests = new HashMap<Long, BillingRequest>();

From source file com.google.ytd.AssignmentSyncService.java

public class AssignmentSyncService extends Service {
    private static final String LOG_TAG = AssignmentSyncService.class.getSimpleName();

    private DbHelper dbHelper = null;

    private String ytdDomain = null;

From source file org.teleportr.ConnectorService.java

public class ConnectorService extends Service implements OnSharedPreferenceChangeListener {

    public static final String CLEANUP_INTERVAL = "cleanup_interval";
    public static final String LAST_CLEANUP = "last_cleanup";
    private static final String WRONG_LOGIN_OR_PASSWORD = "wrong login or password";
    private static final String VERBOSE = "verbose";