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.example.lzhang.stockchartt.media.MediaNotificationManager.java

/**
 * Keeps track of a notification and updates it automatically for a given
 * MediaSession. Maintaining a visible notification (usually) guarantees that the music service
 * won't be killed during playback.
 */
public class MediaNotificationManager extends BroadcastReceiver {

From source file org.lol.reddit.receivers.NewMessageChecker.java

public class NewMessageChecker extends BroadcastReceiver {

    private static final String PREFS_SAVED_MESSAGE_ID = "LastMessageId";
    private static final String PREFS_SAVED_MESSAGE_TIMESTAMP = "LastMessageTimestamp";

    public void onReceive(Context context, Intent intent) {

From source file com.quicklookbusy.narwhalNotifier.NarwhalNotifierReceiver.java

/**
 * An extension of BroadcastReceiver used to check for unread messages
 * 
 * @author Shawn Busolits
 * @version 1.0
 */

From source file com.sanfriend.launcher4.InstallShortcutReceiver.java

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

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

From source file com.example.hp.smartstor.CloudMusicManager.uamp.MediaNotificationManager.java

/**
 * Keeps track of a notification and updates it automatically for a given
 * MediaSession. Maintaining a visible notification (usually) guarantees that the music service
 * won't be killed during playback.
 */
public class MediaNotificationManager extends BroadcastReceiver {

From source file com.murati.oszk.audiobook.MediaNotificationManager.java

/**
 * Keeps track of a notification and updates it automatically for a given
 * MediaSession. Maintaining a visible notification (usually) guarantees that the music service
 * won't be killed during playback.
 */
public class MediaNotificationManager extends BroadcastReceiver {

From source file org.smap.smapTask.android.receivers.NetworkReceiver.java

public class NetworkReceiver extends BroadcastReceiver
        implements TaskDownloaderListener, InstanceUploaderListener, FormDownloaderListener {

    // turning on wifi often gets two CONNECTED events. we only want to run one thread at a time
    public static boolean running = false;
    InstanceUploaderTask mInstanceUploaderTask;

From source file xyz.klinker.blur.launcher3.InstallShortcutReceiver.java

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

    private static final String ACTION_INSTALL_SHORTCUT = "xyz.klinker.blur.launcher.action.INSTALL_SHORTCUT";

From source file io.github.runassudo.flauncher.InstallShortcutReceiver.java

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

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

From source file com.moto.miletus.application.ble.neardevice.NearDeviceNotification.java

/**
 * NearDeviceNotification
 */
public class NearDeviceNotification extends BroadcastReceiver
        implements SendComponentsGattCommand.OnBleComponentsResponse {