Example usage for android.support.v4.content WakefulBroadcastReceiver subclass-usage

List of usage examples for android.support.v4.content WakefulBroadcastReceiver subclass-usage

Introduction

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

Usage

From source file eu.istvank.apps.lenslog.receivers.NotifyAlarmReceiver.java

/**
 * When the alarm fires, this WakefulBroadcastReceiver receives the broadcast Intent
 * and then starts the IntentService {@code NotifySchedulingService} to do some work.
 */
public class NotifyAlarmReceiver extends WakefulBroadcastReceiver {

From source file es.javocsoft.android.lib.toolbox.gcm.core.CustomGCMBroadcastReceiver.java

/**
 * This receiver will process the notifications from GCM. It will 
 * deliver each notification to a service to be processed, waiting 
 * until process of the notification is done. It also avoids the 
 * device to enter in suspend mode while the notification is being 
 * processed. 

From source file org.microg.gms.gcm.TriggerReceiver.java

public class TriggerReceiver extends WakefulBroadcastReceiver {
    private static final String TAG = "GmsGcmTrigger";
    public static final String FORCE_TRY_RECONNECT = "org.microg.gms.gcm.FORCE_TRY_RECONNECT";
    private static boolean registered = false;

    /**

From source file singh.amandeep.musicplayer.MediaButtonIntentReceiver.java

/**
 * Used to control headset playback.
 * Single press: pause/resume
 * Double press: next track
 * Triple press: previous track
 * Long press: voice search

From source file com.popdeem.sdk.core.gcm.GCMBroadcastReceiver.java

/**
 * Created by mikenolan on 24/02/16.
 */
public class GCMBroadcastReceiver extends WakefulBroadcastReceiver {
    @Override
    public void onReceive(Context context, Intent intent) {

From source file siarhei.luskanau.gps.tracker.free.gcm.GcmBroadcastReceiver.java

public class GcmBroadcastReceiver extends WakefulBroadcastReceiver {

    @Override
    public void onReceive(Context context, Intent intent) {
        // Explicitly specify that GcmIntentService will handle the intent.
        ComponentName comp = new ComponentName(context.getPackageName(), GcmIntentService.class.getName());

From source file com.guayaba.tapir.MediaButtonIntentReceiver.java

/**
 * Used to control headset playback.
 *   Single press: pause/resume
 *   Double press: next track
 *   Triple press: previous track
 *   Long press: voice search

From source file com.dragedy.playermusic.service.MediaButtonIntentReceiver.java

/**
 * Used to control headset playback.
 * Single press: pause/resume
 * Double press: next track
 * Triple press: previous track
 */

From source file com.kabouzeid.gramophone.service.MediaButtonIntentReceiver.java

/**
 * Used to control headset playback.
 * Single press: pause/resume
 * Double press: next track
 * Triple press: previous track
 */

From source file com.pasupatigroup.client.AutostartReceiver.java

public class AutostartReceiver extends WakefulBroadcastReceiver {

    @Override
    public void onReceive(Context context, Intent intent) {
        SharedPreferences sharedPreferences = PreferenceManager.getDefaultSharedPreferences(context);
        if (sharedPreferences.getBoolean(MainActivity.KEY_STATUS, false)) {