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 com.bhb27.isu.services.BootBroadcastReceiver.java

public class BootBroadcastReceiver extends BroadcastReceiver {

    private static final String TAG = "iSu_BReceiver";

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

From source file com.nzsoft.myweather.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.wso2.emm.agent.services.SystemServiceResponseReceiver.java

/**
 * This BroadcastReceiver is registered to receive the notifications from system service app when it's available.
 */
public class SystemServiceResponseReceiver extends BroadcastReceiver {

    private static final String TAG = SystemServiceResponseReceiver.class.getName();

From source file org.wso2.iot.agent.services.SystemServiceResponseReceiver.java

/**
 * This BroadcastReceiver is registered to receive the notifications from system service app when it's available.
 */
public class SystemServiceResponseReceiver extends BroadcastReceiver {

    private static final String TAG = SystemServiceResponseReceiver.class.getName();

From source file fr.bischof.raphael.sunshine.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 app.com.ark.android.sunshine.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.notepadlite.WearPluginReceiver.java

public class WearPluginReceiver extends BroadcastReceiver {

    @Override
    public void onReceive(Context context, Intent intent) {
        try {
            // Write note to disk

From source file com.harlie.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 com.chrismorais.android.sunshine.app.GcmBroadcastReceiver.java

public class GcmBroadcastReceiver extends BroadcastReceiver {
    public static final int NOTIFICATION_ID = 1;
    private static final String EXTRA_SENDER = "from";
    private static final String EXTRA_WEATHER = "weather";
    private static final String EXTRA_LOCATION = "location";
    private final String LOG_TAG = BroadcastReceiver.class.getSimpleName();

From source file io.flutter.plugins.firebasemessaging.FirebaseMessagingPlugin.java

/** FirebaseMessagingPlugin */
public class FirebaseMessagingPlugin extends BroadcastReceiver implements MethodCallHandler, NewIntentListener {
    private final Registrar registrar;
    private final MethodChannel channel;

    private static final String CLICK_ACTION_VALUE = "FLUTTER_NOTIFICATION_CLICK";