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.digium.respoke.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());
        // Start the service, keeping the device awake while it is launching.

From source file fr.shywim.antoinedaniel.gcm.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());
        // Start the service, keeping the device awake while it is launching.

From source file in.ceeq.receivers.MobileMessagesReceiver.java

public class MobileMessagesReceiver extends WakefulBroadcastReceiver {

    /**
     * Sms commands receiver commands allowed Siren, Ring, Now, Calls,
     */
    @Override

From source file org.mozilla.gecko.sync.bridge.GCMBridgeBroadcastReceiver.java

/**
 * Register ...sync.bridge.GCM as a broadcast receiver to handle GCM alerts
 */
public class GCMBridgeBroadcastReceiver extends WakefulBroadcastReceiver {
    @Override
    /** On GCM.receive events...

From source file com.mozilla.simplepush.simplepushdemoapp.GcmBroadcastReceiver.java

/**
 * Handle the GCM Receive event.
 */
public class GcmBroadcastReceiver extends WakefulBroadcastReceiver {
    @Override
    public void onReceive(Context context, Intent intent) {

From source file me.longman.apps.helloworld.events.receivers.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.contactmanager.home.assignmentreminder.AlarmReceiver.java

public class AlarmReceiver extends WakefulBroadcastReceiver {

    private static Ringtone mRingtone = null;

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

From source file com.licenta.android.licenseapp.alarm.AlarmReceiver.java

/**
 * Created by oana.ilovan on 29.12.2015.
 */
public class AlarmReceiver extends WakefulBroadcastReceiver {

    @Override

From source file org.openhab.habdroid.core.GcmBroadcastReceiver.java

public class GcmBroadcastReceiver extends WakefulBroadcastReceiver {
    private static final String TAG = GcmBroadcastReceiver.class.getSimpleName();
    private Context mContext;
    private NotificationManager mNotificationManager;
    private static int mNotificationId = 0;

From source file com.goftagram.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) {