Example usage for android.app.job JobService subclass-usage

List of usage examples for android.app.job JobService subclass-usage

Introduction

In this page you can find the example usage for android.app.job JobService subclass-usage.

Usage

From source file com.example.android.notificationscheduler.NotificationJobService.java

/**
 * The Service that JobScheduler runs once the conditions are met.
 * In this case it posts a notification.
 */
public class NotificationJobService extends JobService {

From source file nuclei.task.TaskJobService.java

/**
 * For API 21+ Job Scheduling.  Will receive scheduled jobs and execute on the initialized
 * Task Pool.
 *
 * @see #initialize(TaskPool)
 */

From source file com.commonsware.android.jobsched.content.DemoJobService.java

public class DemoJobService extends JobService {
    private static final int ME_MYSELF_AND_I = 3493;
    private static final int NOTIFY_ID = 2343;

    static void schedule(Context ctxt) {
        ComponentName cn = new ComponentName(ctxt, DemoJobService.class);

From source file com.owncloud.android.files.services.RetryDownloadJobService.java

@RequiresApi(api = Build.VERSION_CODES.LOLLIPOP)
public class RetryDownloadJobService extends JobService {

    private static final String TAG = RetryDownloadJobService.class.getName();

    @Override

From source file eu.faircode.netguard.ServiceJob.java

@TargetApi(Build.VERSION_CODES.LOLLIPOP)
public class ServiceJob extends JobService {
    private static int id = 0;
    private static final String TAG = "NetGuard.Job";

    private static final String cUrl = "https://crowd.netguard.me/";

From source file com.example.android.sampletvinput.syncservice.SyncJobService.java

/**
 * Service to handle callbacks from JobSchduler.
 */
public class SyncJobService extends JobService {
    private static final String TAG = "SyncJobService";
    private static final boolean DEBUG = false;

From source file com.adkdevelopment.rssreader.data.services.FetchJobService.java

/**
 * JobService to fetch news and issue notifications.
 * Created by Dmytro Karataiev on 8/10/16.
 */
@TargetApi(Build.VERSION_CODES.LOLLIPOP)
public class FetchJobService extends JobService {

From source file com.owncloud.android.files.services.AvailableOfflineSyncJobService.java

/**
 * Job to watch for local changes in available offline files (formerly known as kept-in-sync files) and try to
 * synchronize them with the OC server.
 * This job should be executed every 15 minutes since a file is set as available offline for the first time and stopped
 * when there's no available offline files
 */

From source file barqsoft.footballscores.service.FetchScores.java

/**
 * Created by yehya khaled on 3/2/2015.
 */
public class FetchScores extends JobService {

    public static final String LOG_TAG = FetchScores.class.getSimpleName();

From source file com.google.android.media.tv.companionlibrary.EpgSyncJobService.java

/**
 * Service to handle callbacks from JobScheduler. This service will be called by the system to
 * update the EPG with channels and programs periodically.
 * <p />
 * You can extend this class and add it your app by including it in your app's AndroidManfiest.xml:
 * <pre>