Example usage for android.support.v4.app JobIntentService subclass-usage

List of usage examples for android.support.v4.app JobIntentService subclass-usage

Introduction

In this page you can find the example usage for android.support.v4.app JobIntentService subclass-usage.

Usage

From source file com.commonsware.android.wakesvc.ScheduledService.java

public class ScheduledService extends JobIntentService {
    private static final int UNIQUE_JOB_ID = 1337;

    static void enqueueWork(Context ctxt) {
        enqueueWork(ctxt, ScheduledService.class, UNIQUE_JOB_ID, new Intent(ctxt, ScheduledService.class));
    }

From source file com.commonsware.android.job.DemoScheduledService.java

public class DemoScheduledService extends JobIntentService {
    private static final int UNIQUE_JOB_ID = 23433;

    static void enqueueWork(Context ctxt, Intent i) {
        enqueueWork(ctxt, DemoScheduledService.class, UNIQUE_JOB_ID, i);
    }

From source file com.money.manager.ex.notifications.RecurringTransactionIntentService.java

/**
 * Background service that triggers notifications about recurring transactions.
 *
 * Updated to JobIntentService as per
 * https://android.jlelse.eu/keep-those-background-services-working-when-targeting-android-oreo-sdk-26-cbf6cc2bdb7f
 */

From source file com.example.android.supportv4.app.SimpleJobIntentService.java

/**
 * Example implementation of a JobIntentService.
 */
public class SimpleJobIntentService extends JobIntentService {
    /**
     * Unique job ID for this service.

From source file org.site_monitor.service.PurgeDbService.java

/**
 * An {@link IntentService} subclass for handling asynchronous task requests in
 * a service on a separate handler thread.
 */
public class PurgeDbService extends JobIntentService {

From source file org.cm.podd.report.service.FollowAlertRescheduleService.java

/**
 * Created by pphetra on 8/16/15 AD.
 */
public class FollowAlertRescheduleService extends JobIntentService {

    public static final String TAG = "FollowAlertReschedule";

From source file com.commonsware.android.signature.dump.SigSaver.java

public class SigSaver extends JobIntentService {
    private static final int UNIQUE_JOB_ID = 1337;
    private static final String EXTRA_PACKAGE = "package";

    static void enqueueWork(Context ctxt, PackageInfo packageInfo) {
        Intent i = new Intent(ctxt, SigSaver.class).putExtra(EXTRA_PACKAGE, packageInfo.packageName);

From source file com.commonsware.android.backup.RestoreService.java

public class RestoreService extends JobIntentService {
    private static final int UNIQUE_JOB_ID = 1337;

    static void enqueueWork(Context ctxt) {
        enqueueWork(ctxt, RestoreService.class, UNIQUE_JOB_ID, new Intent(ctxt, RestoreService.class));
    }

From source file org.acra.sender.SenderService.java

public class SenderService extends JobIntentService {

    public static final String EXTRA_ONLY_SEND_SILENT_REPORTS = "onlySendSilentReports";
    public static final String EXTRA_APPROVE_REPORTS_FIRST = "approveReportsFirst";
    public static final String EXTRA_ACRA_CONFIG = "acraConfig";

From source file com.ruesga.rview.services.DeviceRegistrationService.java

public class DeviceRegistrationService extends JobIntentService {

    private static final String TAG = "DeviceRegisterService";

    public static final String REGISTER_DEVICE_ACTION = "com.ruesga.rview.actions.REGISTER_DEVICE";
    public static final String EXTRA_ACCOUNT = "account";