List of usage examples for android.support.v4.content WakefulBroadcastReceiver subclass-usage
From source file com.digzdigital.eservicedriver.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)) {
From source file com.trainoft.deviceadmin.gcm.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 com.iitb.wicroft.EventAlarmReceiver.java
public class EventAlarmReceiver extends WakefulBroadcastReceiver { // Prevents instantiation public EventAlarmReceiver() { } // Called when the BroadcastReceiver gets an Intent it's registered to receive
From source file com.hackathon.BeatTheQueue.reusable.gcm.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 us.yeomans.playsync.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 com.birkettenterprise.phonelocator.broadcastreceiver.SendWorkToUpdateServiceBroadcastReceiver.java
public class SendWorkToUpdateServiceBroadcastReceiver extends WakefulBroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { intent.setClass(context, UpdateService.class); startWakefulService(context, intent);
From source file com.example.cloudmessaging.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 com.example.shivadeviah.enhancedgooglemaps.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 ca.utoronto.ece1778.baton.gcm.client.main.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 com.android.google.gcm.GCMBaseBroadcastReceiver.java
/**
* Generalization of the {@code GcmBroadcastReceiver} provided with the Android Demo on GCM.
* It allows to define a correct broadcast receiver for the GCM service simply defining the name of the class
* that extends the {@code GCMBaseBroadcastReceiver}.
* See <a href="http://developer.android.com/google/gcm/client.html#sample-receive">Google's Implementation</a>
* <p/>