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 de.ub0r.android.smsdroid.SmsReceiver.java

/**
 * Listen for new sms.
 *
 * @author flx
 */
@SuppressWarnings("deprecation")

From source file fr.inria.ucn.collectors.NetworkStateCollector.java

/**
 * Current network connectivity and configuration. Run once upon collection
 * start/stop and upon network state changes (from NetworkStateListener).
 * 
 * @author Anna-Kaisa Pietilainen <anna-kaisa.pietilainen@inria.fr>
 *

From source file com.scooter1556.sms.android.manager.MediaNotificationManager.java

/**
 * Manages media notification and updates it automatically for a given MediaSession.
 */
@RequiresApi(api = VERSION_CODES.O)
public class MediaNotificationManager extends BroadcastReceiver {

From source file com.android.deskclock2.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.stasbar.knowyourself.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.android.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 orbin.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.wizardsofm.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.onyx.deskclock.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 android.support.mediacompat.service.ServiceBroadcastReceiver.java

public class ServiceBroadcastReceiver extends BroadcastReceiver {

    @Override
    public void onReceive(Context context, Intent intent) {
        Bundle extras = intent.getExtras();
        if (ACTION_CALL_MEDIA_BROWSER_SERVICE_METHOD.equals(intent.getAction()) && extras != null) {