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 net.simno.klingar.MediaNotificationManager.java

public class MediaNotificationManager extends BroadcastReceiver {

    private static final String ACTION_PLAY = "net.simno.klingar.ACTION_PLAY";
    private static final String ACTION_PAUSE = "net.simno.klingar.ACTION_PAUSE";
    private static final String ACTION_NEXT = "net.simno.klingar.ACTION_NEXT";
    private static final String ACTION_PREVIOUS = "net.simno.klingar.ACTION_PREVIOUS";

From source file com.android.deskclock.timer.TimerReceiver.java

public class TimerReceiver extends BroadcastReceiver {
    private static final String TAG = "TimerReceiver";

    // Make this a large number to avoid the alarm ID's which seem to be 1, 2, ...
    // Must also be different than StopwatchService.NOTIFICATION_ID
    private static final int IN_USE_NOTIFICATION_ID = Integer.MAX_VALUE - 2;

From source file com.nbplus.vbroadlauncher.BroadcastPushReceiver.java

/**
 * .
 */
public class BroadcastPushReceiver extends BroadcastReceiver {
    private static final String TAG = BroadcastPushReceiver.class.getName();

From source file net.digitalfeed.pdroidalternative.intenthandler.PackageChangeHandler.java

public class PackageChangeHandler extends BroadcastReceiver {

    enum NotificationType {
        newinstall, update
    };

From source file org.quantumbadger.redreader.receivers.NewMessageChecker.java

import java.util.UUID;

public class NewMessageChecker extends BroadcastReceiver {

    private static final String TAG = "NewMessageChecker";

From source file com.adarshahd.indianrailinfo.donate.PNRTracker.java

/**
 * Created by ahd on 6/8/13.
 */
public class PNRTracker extends BroadcastReceiver {
    private static final String ENQUIRY_PAGE = "http://www.indianrail.gov.in/cgi_bin/inet_pnrstat_cgi.cgi";
    private static final String ENQUIRY_INPUT = "lccp_pnrno1";

From source file nl.sogeti.android.gpstracker.streaming.CustomUpload.java

public class CustomUpload extends BroadcastReceiver {
    private static final String CUSTOM_UPLOAD_BACKLOG_DEFAULT = "20";
    private static final int NOTIFICATION_ID = R.string.customupload_failed;
    private static CustomUpload sCustomUpload = null;
    private static Queue<URL> sRequestBacklog = new LinkedList<>();

From source file io.teak.sdk.Teak.java

/**
 * Teak
 */
public class Teak extends BroadcastReceiver {
    private static final String LOG_TAG = "Teak";

From source file im.vector.receiver.VectorUniversalLinkReceiver.java

@SuppressLint("LongLogTag")
/**
 * An universal link receiver.
 */
public class VectorUniversalLinkReceiver extends BroadcastReceiver {
    private static final String LOG_TAG = VectorUniversalLinkReceiver.class.getSimpleName();

From source file at.jclehner.rxdroid.NotificationReceiver.java

public class NotificationReceiver extends BroadcastReceiver {
    private static final String TAG = NotificationReceiver.class.getSimpleName();
    private static final boolean LOGV = BuildConfig.DEBUG;

    private static final int LED_CYCLE_MS = 5000;
    private static final int LED_ON_MS = 500;