List of usage examples for android.content BroadcastReceiver subclass-usage
From source file de.escoand.readdaily.ReminderHandler.java
public class ReminderHandler extends BroadcastReceiver { public static void startReminder(final Context context, final int hour, final int minute) { Intent intent = new Intent(context, ReminderHandler.class); PendingIntent pendingIntent = PendingIntent.getBroadcast(context, 0, intent, PendingIntent.FLAG_UPDATE_CURRENT);
From source file com.devbd.cttd.hello_ct.PushPkg.GcmBroadcastReceiver.java
/** * Handling of GCM messages. */ public class GcmBroadcastReceiver extends BroadcastReceiver { static final String TAG = "GCMDemo"; public static final int NOTIFICATION_ID = 1;
From source file com.commontime.plugin.notification.notification.AbstractRestoreReceiver.java
/** * This class is triggered upon reboot of the device. It needs to re-register * the alarms with the AlarmManager since these alarms are lost in case of * reboot. */ abstract public class AbstractRestoreReceiver extends BroadcastReceiver {
From source file com.b44t.messenger.AutoMessageReplyReceiver.java
public class AutoMessageReplyReceiver extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { ApplicationLoader.postInitApplication(); Bundle remoteInput = RemoteInput.getResultsFromIntent(intent);
From source file com.b44t.messenger.WearReplyReceiver.java
public class WearReplyReceiver extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { ApplicationLoader.postInitApplication(); Bundle remoteInput = RemoteInput.getResultsFromIntent(intent);
From source file fr.unix_experience.owncloud_sms.broadcast_receivers.ConnectivityChanged.java
public class ConnectivityChanged extends BroadcastReceiver implements ASyncTask { @Override public void onReceive(Context context, Intent intent) { ConnectivityMonitor cMon = new ConnectivityMonitor(context); // If data is available and previous dataConnectionState was false, then we need to sync
From source file com.layer.atlas.messenger.MessengerPushReceiver.java
/** * @author Oleg Orlov */ public class MessengerPushReceiver extends BroadcastReceiver { private static final String TAG = MessengerPushReceiver.class.getSimpleName();
From source file de.appplant.cordova.plugin.notification.AbstractClearReceiver.java
/** * Abstract delete receiver for local notifications. Creates the local * notification and calls the event functions for further proceeding. */ abstract public class AbstractClearReceiver extends BroadcastReceiver {
From source file com.packpublishing.asynchronousandroid.chapter6.SMSDispatcherAsync.java
@TargetApi(Build.VERSION_CODES.HONEYCOMB) public class SMSDispatcherAsync extends BroadcastReceiver { public static final String TO_KEY = "to"; public static final String TEXT_KEY = "text";
From source file com.commontime.plugin.notification.notification.AbstractClearReceiver.java
/** * Abstract delete receiver for local notifications. Creates the local * notification and calls the event functions for further proceeding. */ abstract public class AbstractClearReceiver extends BroadcastReceiver {