List of usage examples for android.support.v4.content WakefulBroadcastReceiver subclass-usage
From source file org.opensilk.music.playback.service.MediaButtonIntentReceiver.java
public class MediaButtonIntentReceiver extends WakefulBroadcastReceiver { @Override public void onReceive(final Context context, final Intent intent) { Timber.v("Received intent: " + intent); final String intentAction = intent.getAction();
From source file it.uniroma2.foundme.studente.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 net.eledge.android.europeana.service.receiver.BlogCheckerReceiver.java
public class BlogCheckerReceiver extends WakefulBroadcastReceiver { private AlarmManager alarmManager; private PendingIntent blogCheckerIntent; private static final long INTERVAL = AlarmManager.INTERVAL_HOUR * 2;
From source file com.ivarprudnikov.sensors.OnBootBroadcastReceiver.java
/** * Start alarm that will trigger {OnAlarmBroadcastReceiver} which makes * sure that background service is alive */ public class OnBootBroadcastReceiver extends WakefulBroadcastReceiver {
From source file com.endiansoftware.echo.remotewatch.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.equidais.mybeacon.controller.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 in.tapmobi.athome.sip.IncomingCallReceiver.java
/** * Listens for incoming SIP calls, intercepts and hands them off to WalkieTalkieActivity. */ public class IncomingCallReceiver extends WakefulBroadcastReceiver { /** * Processes the incoming call, answers it, and hands it over to the WalkieTalkieActivity.
From source file com.baraccasoftware.swipesms.app.receiver.MessagingReceiver.java
/** * The main messaging receiver class. Note that this is not directly included in * AndroidManifest.xml, instead, subclassed versions of this are included which allows * them to be enabled/disabled independently as they will have a unique component name. */ public class MessagingReceiver extends WakefulBroadcastReceiver {
From source file com.saulcintero.moveon.services.MediaButtonEventReceiver.java
public class MediaButtonEventReceiver extends WakefulBroadcastReceiver { @Override public void onReceive(Context mContext, Intent intent) { String intentAction = intent.getAction(); if (AudioManager.ACTION_AUDIO_BECOMING_NOISY.equals(intentAction)) { } else if (Intent.ACTION_MEDIA_BUTTON.equals(intentAction)) {
From source file org.authme.android.gcm.GCMReceiver.java
/** * Created by Berin on 2/01/14. */ public class GCMReceiver extends WakefulBroadcastReceiver {