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 ca.hoogit.garagepi.Controls.DoorManager.java

/**
 * Created by jordon on 23/02/16.
 * Manger object for handling all door related tasks
 */
public class DoorManager extends BroadcastReceiver {

From source file com.android.settings.sim.SimBootReceiver.java

public class SimBootReceiver extends BroadcastReceiver {
    private static final String TAG = "SimBootReceiver";
    private static final int SLOT_EMPTY = -1;
    private static final int NOTIFICATION_ID = 1;
    private static final String SHARED_PREFERENCES_NAME = "sim_state";
    private static final String SLOT_PREFIX = "sim_slot_";

From source file com.onshift.mobile.ExternalReceiver.java

@SuppressLint("NewApi")
public class ExternalReceiver extends BroadcastReceiver {

    public static NotificationManager myNotificationManager;
    public static final int NOTIFICATION_ID = 1;
    // old format message

From source file com.footprint.cordova.plugin.localnotification.Receiver.java

/**
 * The alarm receiver is triggered when a scheduled alarm is fired. This class
 * reads the information in the intent and displays this information in the
 * Android notification bar. The notification uses the default notification
 * sound and it vibrates the phone.
 */

From source file com.android.shell.BugreportReceiver.java

/**
 * Receiver that handles finished bugreports, usually by attaching them to an
 * {@link Intent#ACTION_SEND}.
 */
public class BugreportReceiver extends BroadcastReceiver {
    private static final String TAG = "Shell";

From source file com.ct.speech.HintReceiver.java

class HintReceiver extends BroadcastReceiver {
    com.ct.speech.SpeechRecognizerPlugin speechRecognizerPlugin;
    String callBackId = "";

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

From source file eu.faircode.adblocker.Receiver.java

public class Receiver extends BroadcastReceiver {
    private static final String TAG = "NetGuard.Receiver";

    @Override
    public void onReceive(final Context context, Intent intent) {
        Log.i(TAG, "Received " + intent);

From source file com.xhr.launcher.InstallShortcutReceiver.java

public class InstallShortcutReceiver extends BroadcastReceiver {
    private static final String TAG = "InstallShortcutReceiver";
    private static final boolean DBG = false;

    public static final String ACTION_INSTALL_SHORTCUT = "com.android.launcher.action.INSTALL_SHORTCUT";

From source file us.shandian.launcher.InstallShortcutReceiver.java

public class InstallShortcutReceiver extends BroadcastReceiver {
    private static final String TAG = "InstallShortcutReceiver";
    private static final boolean DBG = false;

    public static final String ACTION_INSTALL_SHORTCUT = "com.android.launcher.action.INSTALL_SHORTCUT";

From source file com.joysee.portal.launcher.InstallShortcutReceiver.java

public class InstallShortcutReceiver extends BroadcastReceiver {
    private static final String TAG = "InstallShortcutReceiver";
    private static final boolean DBG = false;

    public static final String ACTION_INSTALL_SHORTCUT = "com.android.launcher.action.INSTALL_SHORTCUT";