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 dev.ukanth.ufirewall.PackageBroadcast.java

/**
 * Broadcast receiver responsible for removing rules that affect uninstalled
 * apps.
 */
public class PackageBroadcast extends BroadcastReceiver {

From source file com.finchuk.clock2.alarms.background.UpcomingAlarmReceiver.java

public class UpcomingAlarmReceiver extends BroadcastReceiver {
    private static final String TAG = "UpcomingAlarmReceiver";
    /*TOneverDO: not private*/
    private static final String ACTION_DISMISS_NOW = "com.finchuk.clock2.action.DISMISS_NOW";

    public static final String ACTION_CANCEL_NOTIFICATION = "com.finchuk.clock2.action.CANCEL_NOTIFICATION";

From source file com.parse.applinksanalytics.ParseAppLinksBroadcastReceiver.java

/**
 * This class implements a BroadcastReceiver that listens for notifications from
 * Bolts App Link events and creates a Parse Analytics custom event for
 * recognized notifications. The event name translations from Bolts to Parse
 * are:
 * 

From source file io.lqd.sdk.LQPushHandler.java

/**
 * BroadcastReceiver that handles GCM intents.
 *
 *
 */
public class LQPushHandler extends BroadcastReceiver {

From source file com.plugin.am.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.jay.pea.mhealthapp2.utilityClasses.AlarmReceiver.java

public class AlarmReceiver extends BroadcastReceiver {

    final public static String ONE_TIME = "onetime";
    String ACTION_DISMISS = "ACTION_DISMISS";
    String ACTION_SNOOZE = "ACTION_SNOOZE";
    String TAG = "ALARMRECIEVER";

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

public class ReceiveSettingsReceiver extends BroadcastReceiver {
    @Override
    public void onReceive(Context context, Intent intent) {
        // Ignore this broadcast if this is the free version
        if (BuildConfig.APPLICATION_ID.equals(BuildConfig.PAID_APPLICATION_ID)) {
            // Get pinned and blocked apps

From source file com.commonsware.android.sawmonitor.PackageReceiver.java

public class PackageReceiver extends BroadcastReceiver {
    static final int NOTIFY_ID = 3431;
    private static final long ADD_THEN_REPLACE_DELTA = 2000L;
    private static HashMap<String, Long> ADD_TIMESTAMPS = new HashMap<String, Long>();

    static boolean hasSAW(Context ctxt, String pkg) {

From source file it.feio.android.omninotes.receiver.AlarmReceiver.java

public class AlarmReceiver extends BroadcastReceiver {

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

From source file com.geecko.QuickLyric.broadcastReceiver.WearableRequestReceiver.java

public class WearableRequestReceiver extends BroadcastReceiver implements Lyrics.Callback {
    private Context mContext;

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