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 io.hypertrack.sendeta.receiver.NetworkChangeReceiver.java

/**
 * Created by piyush on 08/07/16.
 */
public class NetworkChangeReceiver extends BroadcastReceiver {

    public static final String NETWORK_CHANGED = "NETWORK_CHANGED";

From source file com.msted.lensrocket.LensRocketBroadcastReceiver.java

public class LensRocketBroadcastReceiver extends BroadcastReceiver {
    public static final int NOTIFICATION_ID = 1;
    private NotificationManager mNotificationManager;
    private Context mContext;
    private final String TAG = "LensRocketBroadcastReceiver";
    private LensRocketService mLensRocketService;

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

public class ShowHideTaskbarReceiver 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.keysolutions.ddpclient.android.DDPBroadcastReceiver.java

/**
 * This class handles base/common functionality for DDP event handling using
 * Android's LocalBroadcastManager.  E.g., error handling, auto resume token login, etc.
 * Override the various methods to hook your own application handling in.
 * @author kenyee
 */

From source file com.example.google.location.GeoFenceIntentReceiver.java

/**
 * GeoFenceIntentReceiver receives geofence triggers and calls startAcivity
 * which updates the UI.
 */
public class GeoFenceIntentReceiver extends BroadcastReceiver {
    @Override

From source file co.uk.gauntface.cordova.plugin.gcmbrowserlaunch.PushNotificationReceiver.java

public class PushNotificationReceiver extends BroadcastReceiver {

    private static final String PREFS_NAME = "DEVICE_LAB_PREFS";

    public PushNotificationReceiver() {

From source file org.mozilla.mozstumbler.client.ObservedLocationsReceiver.java

public class ObservedLocationsReceiver extends BroadcastReceiver {

    public interface ICountObserver {
        public void observedLocationCountIncrement();
    }

From source file com.nks.nksmod.otaupdater.DownloadReceiver.java

public class DownloadReceiver extends BroadcastReceiver {
    public static final String DL_ROM_ACTION = "com.nks.nksmod.otaupdater.action.DL_ROM_ACTION";
    public static final String DL_KERNEL_ACTION = "com.nks.nksmod.otaupdater.action.DL_KERNEL_ACTION";

    public static final String CLEAR_DL_ACTION = "com.nks.nksmod.otaupdater.action.CLEAR_DL_ACTION";

From source file com.mindprotectionkit.freephone.monitor.MonitorConfigUpdateReceiver.java

/**
 * A broadcast receiver that is responsible for scheduling and handling notifications
 * for periodic monitor config update events.
 *
 * @author Stuart O. Anderson
 */

From source file com.neal.repairer.ease.receiver.CallReceiver.java

public class CallReceiver extends BroadcastReceiver {

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

        //username