List of usage examples for android.support.v4.content WakefulBroadcastReceiver subclass-usage
From source file com.licenta.android.licenseapp.location.DateChangedReceiver.java
/** * Created by oana.ilovan on 24.05.2016. */ public class DateChangedReceiver extends WakefulBroadcastReceiver { @Override
From source file tm.alashow.dotjpg.android.gcm.GCMReceiver.java
/** * For moving and renaming GCMIntentService */ public class GCMReceiver extends WakefulBroadcastReceiver { @Override
From source file in.ceeq.receivers.CloudMessagesReceiver.java
public class CloudMessagesReceiver extends WakefulBroadcastReceiver { public CloudMessagesReceiver() { } @Override public void onReceive(Context context, Intent intent) {
From source file org.chromium.GcmReceiver.java
public class GcmReceiver extends WakefulBroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { ComponentName comp = new ComponentName(context.getPackageName(), GcmIntentService.class.getName()); // Start the service, keeping the device awake while it is launching. startWakefulService(context, (intent.setComponent(comp)));
From source file com.dolphin.push.GoogleCloudMessagingBroadcastReceiver.java
public abstract class GoogleCloudMessagingBroadcastReceiver extends WakefulBroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { ComponentName comp = new ComponentName(context.getPackageName(), serviceName()); startWakefulService(context, (intent.setComponent(comp))); setResultCode(Activity.RESULT_OK);
From source file com.nokia.example.capturetheflag.notifications.google.GcmBroadcastReceiver.java
/** * Google Cloud Messaging {@link BroadcastReceiver}. * <p/> * Receives GCM messages and passes them to {@link GcmIntentService}. */ public class GcmBroadcastReceiver extends WakefulBroadcastReceiver {
From source file com.example.sportsapp.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 org.starfishrespect.myconsumption.android.notifications.GCMBroadcastReceiver.java
/** * Receiver for push notifications * S23Y (2015). Licensed under the Apache License, Version 2.0. * Author: Thibaud Ledent */ public class GCMBroadcastReceiver extends WakefulBroadcastReceiver {
From source file com.nokia.example.capturetheflag.notifications.nokia.NokiaNotificationsBroadcastReceiver.java
/**
* Broadcast Receiver for Nokia Notifications.
* <p/>
* Receives Nokia Notifications messages and passes them to
* {@link NokiaNotificationsIntentService}.
* <p/>
From source file org.telegram.messenger.GcmBroadcastReceiver.java
public class GcmBroadcastReceiver extends WakefulBroadcastReceiver { public static final int NOTIFICATION_ID = 1; @Override public void onReceive(final Context context, final Intent intent) {