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.devalladolid.musictoday.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.technologx.blaze.player.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.onesignal.example.OneSignalBackgroundDataReceiver.java

public class OneSignalBackgroundDataReceiver extends WakefulBroadcastReceiver {
    public void onReceive(Context context, Intent intent) {
        Bundle dataBundle = intent.getBundleExtra("data");

        try {
            //Log.i("OneSignalExample", "NotificationTable content: " + dataBundle.getString("alert"));

From source file com.paperpad.MoulinsDuDuc.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 mobile.tiis.appv2.postman.RoutineAlarmReceiver.java

/**
 * Created by Rubin on 3/18/2015.
 */
public class RoutineAlarmReceiver extends WakefulBroadcastReceiver {
    // The appv2's AlarmManager, which provides access to the system alarm services.
    private static AlarmManager alarmMgr;

From source file com.musiqueplayer.playlistequalizerandroidwear.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 rosmi.acagild.alarmclock.ringing.AlarmWakeReceiver.java

/**
 * This class is a special BroadcastReceiver that receives the PendingIntent from the AlarmManager
 * while holding the wakelock.  It forwards the intent to the AlarmRingingService to dispatch the
 * alarm. The service calls AlarmWakeReceiver.completeWakefulIntent() once it has acquired the
 * wakelock.
 */

From source file com.brayanarias.alarmproject.receiver.AlarmReceiver.java

public class AlarmReceiver extends WakefulBroadcastReceiver {

    public static final String tag = AlarmReceiver.class.getName();

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

From source file com.microsoft.mimickeralarm.ringing.AlarmWakeReceiver.java

/**
 * This class is a special BroadcastReceiver that receives the PendingIntent from the AlarmManager
 * while holding the wakelock.  It forwards the intent to the AlarmRingingService to dispatch the
 * alarm. The service calls AlarmWakeReceiver.completeWakefulIntent() once it has acquired the
 * wakelock.
 */

From source file org.ounl.lifelonglearninghub.nfcecology.scheduler.SampleAlarmReceiver.java

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