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.yuchu.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 nodomain.freeyourgadget.gadgetbridge.externalevents.AlarmReceiver.java

public class AlarmReceiver extends BroadcastReceiver {
    private static final Logger LOG = LoggerFactory.getLogger(AlarmReceiver.class);

    public AlarmReceiver() {
        Context context = GBApplication.getContext();
        Intent intent = new Intent("DAILY_ALARM");

From source file com.cyou.poplauncher.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.BeeFramework.service.PushMessageReceiver.java

public class PushMessageReceiver extends BroadcastReceiver {
    private SharedPreferences shared;
    private SharedPreferences.Editor editor;

    /**
     *

From source file com.intuitlabs.wear.voiceandchoice.ActionReceiver.java

/**
 * <code>BroadcastReceiver</code> to handle user requests, entered on the wearable.
 * <p>
 * The fully qualified class-name of this {@link BroadcastReceiver} needs to be mentioned in the
 * JSON document inside the ListStyle, that gets pushed to the phone, like here:
 * </p><p>

From source file org.mariotaku.twidere.receiver.NotificationReceiver.java

/**
 * Created by mariotaku on 15/4/4.
 */
public class NotificationReceiver extends BroadcastReceiver implements Constants {
    @Override
    public void onReceive(Context context, Intent intent) {

From source file org.amahi.anywhere.util.Downloader.java

/**
 * File downloader. Uses system {@link android.app.DownloadManager}
 * for downloads placing and cancelling.
 */
@Singleton
public class Downloader extends BroadcastReceiver {

From source file com.commonsware.cwac.locpoll.demo.LocationReceiver.java

public class LocationReceiver extends BroadcastReceiver {
    private static String DEBUG_TAG = "QosCellServices";
    TelephonyManager Tel;
    MyPhoneStateListener MyListener;
    Context mContext;
    int type;

From source file org.isoron.uhabits.HabitBroadcastReceiver.java

public class HabitBroadcastReceiver extends BroadcastReceiver {
    public static final String ACTION_CHECK = "org.isoron.uhabits.ACTION_CHECK";
    public static final String ACTION_DISMISS = "org.isoron.uhabits.ACTION_DISMISS";
    public static final String ACTION_SHOW_REMINDER = "org.isoron.uhabits.ACTION_SHOW_REMINDER";
    public static final String ACTION_SNOOZE = "org.isoron.uhabits.ACTION_SNOOZE";

From source file com.freshplanet.nativeExtensions.C2DMBroadcastReceiver.java

public class C2DMBroadcastReceiver extends BroadcastReceiver {

    private static String TAG = "c2dmBdcastRcvr";

    private static int notificationIcon;
    private static int customLayout;