List of usage examples for android.support.v4.content WakefulBroadcastReceiver subclass-usage
From source file com.github.jvanhie.discogsscrobbler.util.NowPlayingAlarm.java
/** * Created by Jono on 28/04/2014. */ public class NowPlayingAlarm extends WakefulBroadcastReceiver { @Override public void onReceive(Context context, Intent intent) {
From source file org.uribeacon.scan.compat.ScanWakefulBroadcastReceiver.java
/**
* ScanWakefulBroadcastReceiver initiates the Bluetooth LE scan by calling
* {@link ScanWakefulService} after acquiring a WakeLock. On completion {@link ScanWakefulService}
* releases the WakeLock.
* <p>
* This WakefulBroadcastReceiver is invoked by a pending intent through the alarm manager.
From source file no.digipost.android_push.GcmBroadcastReceiver.java
public class GcmBroadcastReceiver extends WakefulBroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { ComponentName comp = new ComponentName(context.getPackageName(), GcmIntentService.class.getName()); startWakefulService(context, (intent.setComponent(comp)));
From source file com.simplaapliko.wakeup.AlarmReceiver.java
public class AlarmReceiver extends WakefulBroadcastReceiver { private static final String TAG = "AlarmReceiver"; @Override public void onReceive(Context context, Intent intent) {
From source file net.kourlas.voipms_sms.receivers.BootReceiver.java
public class BootReceiver extends WakefulBroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { if (intent.getAction().equals("android.intent.action.BOOT_COMPLETED")) { SynchronizationIntervalReceiver.setupSynchronizationInterval(context.getApplicationContext()); }
From source file com.gcm.lib.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.qutet.ad.xyztouristattractions.service.UtilityReceiver.java
/** * A simply utility receiver used to ensure the device stays awake for the * duration of the work being done by * {@link com.qutet.ad.xyztouristattractions.service.UtilityService}. */ public class UtilityReceiver extends WakefulBroadcastReceiver {
From source file com.asburymotors.android.disneysocal.service.UtilityReceiver.java
/** * A simply utility receiver used to ensure the device stays awake for the * duration of the work being done by * {@link com.asburymotors.android.disneysocal.service.UtilityService}. */ public class UtilityReceiver extends WakefulBroadcastReceiver {
From source file com.mutech.synergy.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.ashish.msngr.GcmBroadcastReceiver.java
public class GcmBroadcastReceiver extends WakefulBroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { ComponentName comp = new ComponentName(context.getPackageName(), GCMNotificationIntentService.class.getName());