List of usage examples for android.support.v4.content WakefulBroadcastReceiver subclass-usage
From source file me.willowcheng.makerthings.core.GcmBroadcastReceiver.java
public class GcmBroadcastReceiver extends WakefulBroadcastReceiver { private static final String TAG = "GcmBroadcastReceiver"; private Context mContext; private NotificationManager mNotificationManager; private static int mNotificationId = 0;
From source file io.realm.examples.threads.WakefulReceivingBroadcastReceiver.java
public class WakefulReceivingBroadcastReceiver extends WakefulBroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { // Do not do work in onReceive as it can cause an ANR. Perform work in a // service as to avoid the ANR. Intent serviceIntent = new Intent(context, WakefulReceivingService.class);
From source file com.baidao.realm_threadexample.WakefulReceivingBroadcastReceiver.java
public class WakefulReceivingBroadcastReceiver extends WakefulBroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { // Do not do work in onReceive as it can cause an ANR. Perform work in a // service as to avoid the ANR. Intent serviceIntent = new Intent(context, WakefulReceivingService.class);
From source file treehou.se.habit.gcm.GcmBroadcastReceiver.java
public class GcmBroadcastReceiver extends WakefulBroadcastReceiver { private static final String TAG = "GcmBroadcastReceiver"; private Context mContext; private NotificationManager mNotificationManager; private static int mNotificationId = 0;
From source file com.doctoror.surprise.SurpriseReceiver.java
public final class SurpriseReceiver extends WakefulBroadcastReceiver { @Override public void onReceive(final Context context, final Intent intent) { SurpriseService.executeSurprise(context, false); }
From source file com.liferay.mobile.push.PushNotificationsReceiver.java
/** * @author Bruno Farache */ public abstract class PushNotificationsReceiver extends WakefulBroadcastReceiver { public abstract String getServiceClassName();
From source file io.nuclei.splice.service.SpliceReceiver.java
public abstract class SpliceReceiver extends WakefulBroadcastReceiver { public static final String ACTION_SYNC = "io.nuclei.splice.SYNC"; protected abstract Class<? extends SpliceService> getServiceClass();
From source file com.actinarium.nagbox.service.NagAlarmReceiver.java
public class NagAlarmReceiver extends WakefulBroadcastReceiver { public NagAlarmReceiver() { } @Override
From source file com.mobicage.rogerthat.GCMReveiver.java
public class GCMReveiver extends WakefulBroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { Intent service = new Intent(context, MainService.class); service.putExtra(MainService.START_INTENT_GCM, true);
From source file com.lanet.lanetfit.mapservices.UtilityReceiver.java
public class UtilityReceiver extends WakefulBroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { // Pass right over to UtilityService class, the wakeful receiver is // just needed in case the geofence is triggered while the device