Example usage for android.app IntentService subclass-usage

List of usage examples for android.app IntentService subclass-usage

Introduction

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

Usage

From source file com.google.android.gcm.GCMBaseIntentService.java

/**
 * Skeleton for application-specific {@link IntentService}s responsible for
 * handling communication from Google Cloud Messaging service.
 * <p>
 * The abstract methods in this class are called from its worker thread, and
 * hence should run in a limited amount of time. If they execute long

From source file org.c99.wear_imessage.GCMIntentService.java

public class GCMIntentService extends IntentService {
    public static final String GCM_ID = "YOUR-GCM-ID-HERE";
    public static final boolean ENABLE_REPLIES = false;

    private JSONObject conversations;

From source file my.home.lehome.service.SendMsgIntentService.java

/**
 * Created by legendmohe on 15/3/30.
 */
public class SendMsgIntentService extends IntentService {

    public static final int MSG_END_SENDING = 0;

From source file org.transdroid.core.service.ServerCheckerService.java

/**
 * A background service that checks all user-configured servers (if so desired) for new and finished torrents.
 * @author Eric Kok
 */
@EService
public class ServerCheckerService extends IntentService {

From source file com.ayaseya.padnotification.GcmIntentService.java

/**
 * This {@code IntentService} does the actual handling of the GCM message.
 * {@code GcmBroadcastReceiver} (a {@code WakefulBroadcastReceiver}) holds a
 * partial wake lock for this service while the service does its work. When the
 * service is finished, it calls {@code completeWakefulIntent()} to release the
 * wake lock.

From source file com.ayaseya.nolnotification.GcmIntentService.java

/**
 * This {@code IntentService} does the actual handling of the GCM message.
 * {@code GcmBroadcastReceiver} (a {@code WakefulBroadcastReceiver}) holds a
 * partial wake lock for this service while the service does its work. When the
 * service is finished, it calls {@code completeWakefulIntent()} to release the
 * wake lock.

From source file budgetworld.ru.bw.RegistrationIntentService.java

public class RegistrationIntentService extends IntentService {

    private static final String TAG = "RegIntentService";
    private static final String[] TOPICS = { "global" };

    public RegistrationIntentService() {

From source file com.pulp.campaigntracker.gcm.GcmIntentService.java

/**
 * This {@code IntentService} does the actual handling of the GCM message.
 * {@code GcmBroadcastReceiver} (a {@code WakefulBroadcastReceiver}) holds a
 * partial wake lock for this service while the service does its work. When the
 * service is finished, it calls {@code completeWakefulIntent()} to release the
 * wake lock.

From source file com.tapcentive.sdk.icons.IconRetrievalService.java

public class IconRetrievalService extends IntentService {
    public final String TAG = "ICON_RETRIEVAL_SERVICE";
    public static String ICONDIR = "icondir";
    private static RequestQueue requestQueue = null;

    public IconRetrievalService() {

From source file com.bcp.bcp.geofencing.GeofenceTransitionsIntentService.java

/**
 * Listener for geofence transition changes.
 *
 * Receives geofence transition events from Location Services in the form of an Intent containing
 * the transition type and geofence id(s) that triggered the transition. Creates a notification
 * as the output.