List of usage examples for android.content BroadcastReceiver subclass-usage
From source file com.alboteanu.android.sunshine.app.GcmBroadcastReceiver.java
public class GcmBroadcastReceiver extends BroadcastReceiver { private final String LOG_TAG = BroadcastReceiver.class.getSimpleName(); private static final String EXTRA_SENDER = "from"; private static final String EXTRA_WEATHER = "weather"; private static final String EXTRA_LOCATION = "location";
From source file org.libreoffice.impressremote.communication.BluetoothServersFinder.java
class BluetoothServersFinder extends BroadcastReceiver implements ServersFinder { private static final BluetoothAdapter btAdapter = BluetoothAdapter.getDefaultAdapter(); private final Context mContext; private final Map<String, Server> mServers;
From source file com.anrlabs.locationreminder.GeoFenceReceiver.java
/** * Created by sandeepkannan on 12/9/14. */ public class GeoFenceReceiver extends BroadcastReceiver { Context context; String[] strinIds;
From source file com.cyanogenmod.eleven.AhuButtonIntentReceiver.java
/**
* Used to control Android Head Unit buttons for playback.
* Single press: pause/resume
* Double press: next track
* Triple press: previous track
* Long press: voice search
From source file com.amlcurran.messages.events.BroadcastEventSubscriber.java
public class BroadcastEventSubscriber extends BroadcastReceiver implements EventSubscriber { private final ArrayList<Broadcast> listeningBroadcasts; private final Context context; private Listener listener;
From source file com.fallenman.jeremyvalenzuela.sunshine.app.GcmBroadcastReceiver.java
public class GcmBroadcastReceiver extends BroadcastReceiver { private final String LOG_TAG = BroadcastReceiver.class.getSimpleName(); private static final String EXTRA_SENDER = "from"; private static final String EXTRA_WEATHER = "weather"; private static final String EXTRA_LOCATION = "location";
From source file com.tanmay.blip.receivers.NotificationReceiver.java
/** * Created by Tanmay Parikh on 7/21/2015. */ public class NotificationReceiver extends BroadcastReceiver { private static final int NOTIF_ID = 486156;
From source file com.packpublishing.asynchronousandroid.chapter6.SMSDispatcher.java
public class SMSDispatcher extends BroadcastReceiver { public static final String TO_KEY = "to"; public static final String TEXT_KEY = "text"; private static final String DELIVERED_ACTION = "sms_delivered";
From source file com.plugin.am.Restore.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. */ public class Restore extends BroadcastReceiver {
From source file com.github.luluvise.droid_utils.lib.network.NetworkReceiver.java
/**
* Network connectivity changes notifier. Clients must register to get
* connection updates through the application's {@link LocalBroadcastManager}
* and passing an anonymous extension of this class as shown below:
*
* <pre>