Example usage for android.content BroadcastReceiver subclass-usage

List of usage examples for android.content BroadcastReceiver subclass-usage

Introduction

In this page you can find the example usage for android.content BroadcastReceiver subclass-usage.

Usage

From source file edu.poly.cs9033.nowaiting.service.LocationReceiver.java

public class LocationReceiver extends BroadcastReceiver {
    @Override
    public void onReceive(Context context, Intent intent) {

        Logger.i("Location changes detected!");

From source file com.farmerbb.taskbar.receiver.QuitReceiver.java

public class QuitReceiver extends BroadcastReceiver {
    @Override
    public void onReceive(Context context, Intent intent) {
        Intent taskbarIntent = new Intent(context, TaskbarService.class);
        Intent startMenuIntent = new Intent(context, StartMenuService.class);
        Intent dashboardIntent = new Intent(context, DashboardService.class);

From source file com.koushikdutta.superuser.SuReceiver.java

public class SuReceiver extends BroadcastReceiver {
    @Override
    public void onReceive(final Context context, Intent intent) {
        if (intent == null)
            return;

From source file com.github.luluvise.droid_utils.lib.network.NetworkBroadcastReceiver.java

/**
 * {@link BroadcastReceiver} for notifying application components about network
 * connection availability changes on the device, such as a loss of data
 * connectivity or the user disabling the active wireless.
 * 
 * <b>Note:</b> clients should not use this class directly.<br>

From source file com.kii.sample.hellothingif.jpush.KiiPushBroadcastReceiver.java

public class KiiPushBroadcastReceiver extends BroadcastReceiver {
    private static final String TAG = "KiiPushBroadcastRecv";
    public static final String INTENT_COMMAND_RESULT_RECEIVED = "com.kii.sample.hellothingif.COMMAND_RESULT_RECEIVED";
    public static final String PARAM_COMMAND_ID = "CommandID";

    @Override

From source file de.appplant.cordova.plugin.localnotification.DeleteIntentReceiver.java

public class DeleteIntentReceiver extends BroadcastReceiver {

    public static final String OPTIONS = "LOCAL_NOTIFICATION_OPTIONS";

    /**
     * Is called when a Notification is cleared manualy by the User

From source file net.helff.wificonnector.WifiConnectivityReceiver.java

public class WifiConnectivityReceiver extends BroadcastReceiver {

    public static final String TAG = "WifiConnectivityReceiver";

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

From source file com.googlecode.eyesfree.brailleback.FocusTracker.java

/**
 * Tracks various events and updates accessibility focus.
 *
 * Currently, this class moves accessibility focus to the node that has input
 * focus when the screen is turned on or a display gets connected.
 */

From source file com.dipesan.miniatm.miniatm.services.BluetoothConnexionManager.java

/**
 * @author gbillard on 5/25/16.
 */
public class BluetoothConnexionManager extends BroadcastReceiver implements IConnexionManager {

    private String deviceAddr;

From source file de.appplant.cordova.plugin.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 {