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.zhengde163.netguard.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.auth0.lock.receiver.AuthenticationReceiver.java

/**
 * Custom Lock BroadcastReceiver that by default listens for Actions sent by LockActivity.
 * Only required method to override is {@link #onAuthentication(UserProfile, Token)} that yield user's credentials and profile on login.
 * There are a couple more methods that can be overridden:
 * <ul>
 *     <li>{@link #onSignUp()}: called only when user signs up and flag {@link Lock#shouldLoginAfterSignUp()} is true</li>

From source file com.money.manager.ex.sync.SyncSchedulerBroadcastReceiver.java

/**
 * Schedules the periodic alarm (sync heartbeat) that triggers cloud synchronization.
 * Called from the preferences when the synchronization interval changes, and on BOOT_COMPLETED.
 */
public class SyncSchedulerBroadcastReceiver extends BroadcastReceiver {

From source file com.master.metehan.filtereagle.Receiver.java

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

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

From source file com.winsuk.pebbletype.WatchCommunication.java

public class WatchCommunication extends BroadcastReceiver {
    private static final UUID PEBBLE_APP_UUID = UUID.fromString("16bb858b-fdde-479a-acd6-9b7678c147b0");

    private static final int KEY_REQUEST_THREAD_LIST = 0;
    private static final int KEY_THREAD_LIST = 1;
    private static final int KEY_SEND_MESSAGE = 2;

From source file com.devnoobs.bmr.Powiadomienia.java

public class Powiadomienia extends BroadcastReceiver {

    private Context c;
    private final String S = "com.devnoobs.bmr.Powiadomienia";

    Powiadomienia() {

From source file com.myfuture.util.FavoritesNotificationReceiver.java

/**
 * A BroadcastReceiver to handle Intents sent by the AlarmManager for local
 * notifications.
 */
public class FavoritesNotificationReceiver extends BroadcastReceiver {
    /**

From source file com.parse.f8.util.FavoritesNotificationReceiver.java

/**
 * A BroadcastReceiver to handle Intents sent by the AlarmManager for local
 * notifications.
 */
public class FavoritesNotificationReceiver extends BroadcastReceiver {
    /**

From source file sg.macbuntu.android.pushcontacts.SmsReceiver.java

public class SmsReceiver extends BroadcastReceiver {

    private static final String PUSH_URL = "http://pushcontacts.appspot.com/push";

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

From source file com.android.usbtuner.UsbInputController.java

/**
 * Controls the package visibility of {@link UsbTunerTvInputService}.
 * <p>
 * Listens to broadcast intent for {@link Intent#ACTION_BOOT_COMPLETED},
 * {@code UsbManager.ACTION_USB_DEVICE_ATTACHED}, and {@code UsbManager.ACTION_USB_DEVICE_ATTACHED}
 * to update the connection status of the supported USB TV tuners.