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.androidinspain.deskclock.alarms.AlarmStateManager.java

/**
 * This class handles all the state changes for alarm instances. You need to
 * register all alarm instances with the state manager if you want them to
 * be activated. If a major time change has occurred (ie. TIMEZONE_CHANGE, TIMESET_CHANGE),
 * then you must also re-register instances to fix their states.
 *

From source file com.z3r0byte.magistify.Services.BackgroundService.java

public class BackgroundService extends BroadcastReceiver {
    private static final String TAG = "Magistify";

    ConfigUtil configUtil;
    Context context;
    PowerManager.WakeLock wakeLock;

From source file org.sipdroid.sipua.ui.Receiver.java

public class Receiver extends BroadcastReceiver {

    final static String ACTION_PHONE_STATE_CHANGED = "android.intent.action.PHONE_STATE";
    final static String ACTION_SIGNAL_STRENGTH_CHANGED = "android.intent.action.SIG_STR";
    final static String ACTION_DATA_STATE_CHANGED = "android.intent.action.ANY_DATA_STATE";
    final static String ACTION_DOCK_EVENT = "android.intent.action.DOCK_EVENT";

From source file com.money.manager.ex.notifications.SmsReceiverTransactions.java

public class SmsReceiverTransactions extends BroadcastReceiver {

    private Context mContext;

    @Inject
    BriteDatabase database;

From source file android.support.mediacompat.client.ClientBroadcastReceiver.java

public class ClientBroadcastReceiver extends BroadcastReceiver {

    @Override
    public void onReceive(Context context, Intent intent) {
        Bundle extras = intent.getExtras();
        MediaControllerCompat controller;

From source file org.restcomm.app.qoslib.Services.Intents.IntentHandler.java

/**
 * This method handles all the intents that the service can receive. 
 * The intent filters are defined in the owner class but this class acts
 * as the manager for them.
 * @author abhin
 *

From source file org.eclipse.paho.android.service.MqttAndroidClient.java

/**
 * Enables an android application to communicate with an MQTT server using non-blocking methods.
 * <p>
 * Implementation of the MQTT asynchronous client interface {@link IMqttAsyncClient} , using the MQTT
 * android service to actually interface with MQTT server. It provides android applications a simple programming interface to all features of the MQTT version 3.1
 * specification including:

From source file com.ebridgevas.android.ebridgeapp.messaging.mqttservice.MqttAndroidClient.java

/**
 * Enables an android application to communicate with an MQTT server using non-blocking methods.
 * <p>
 * Implementation of the MQTT asynchronous client interface {@link IMqttAsyncClient} , using the MQTT
 * android service to actually interface with MQTT server. It provides android applications a simple programming interface to all features of the MQTT version 3.1
 * specification including:

From source file com.android.leanlauncher.LauncherModel.java

/**
 * Maintains in-memory state of the Launcher. It is expected that there should be only one
 * LauncherModel object held in a static. Also provide APIs for updating the database state
 * for the Launcher.
 */
public class LauncherModel extends BroadcastReceiver implements LauncherAppsCompat.OnAppsChangedCallbackCompat {