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 com.measurence.sdk.android.gcm_push_notifications.GcmPushNotificationsReceiver.java

/**
 * This Broadcast Receiver will delegate handling of the message to
 * the proper IntentService, while forbidding the device to sleep while
 * the intent is being handled
 */
public class GcmPushNotificationsReceiver extends WakefulBroadcastReceiver {

From source file com.evandroid.musica.helpers.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.sgj.john.mytimber.helpers.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.fat246.cybercar.helpers.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.example.chu.myvideodemo.helpers.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.paperpad.mybox.GcmBroadcastReceiver.java

/**
 * This {@code WakefulBroadcastReceiver} takes care of creating and managing a
 * partial wake lock for your app. It passes off the work of processing the GCM
 * message to an {@code IntentService}, while ensuring that the device does not
 * go back to sleep in the transition. The {@code IntentService} calls
 * {@code GcmBroadcastReceiver.completeWakefulIntent()} when it is ready to

From source file net.geniecode.ttr.ScheduleReceiver.java

public class ScheduleReceiver extends WakefulBroadcastReceiver {

    public static final String PREFS_NAME = "TTRPrefs";
    public static final String WIFI_STATE = "WiFiState";

    private WifiManager mWifiManager;

From source file com.techmighty.baseplayer.helpers.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.letsgood.sampleapp.receivers.GoogleCloudMessageReceiver.java

/**
 * Created by Letsgood.com - Pavel Stambrecht on 9. 4. 2015.
 */
public class GoogleCloudMessageReceiver extends WakefulBroadcastReceiver {

    @Override

From source file com.nicolacimmino.expensestracker.tracker.data_sync.GcmBroadcastReceiver.java

public class GcmBroadcastReceiver extends WakefulBroadcastReceiver {

    @Override
    public void onReceive(Context context, Intent intent) {

        // This is the name of GcmIntentService.