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.android.messaging.receiver.SmsReceiver.java

/**
 * Class that receives incoming SMS messages through android.provider.Telephony.SMS_RECEIVED
 *
 * This class serves two purposes:
 * - Process phone verification SMS messages
 * - Handle SMS messages when the user has enabled us to be the default SMS app (Pre-KLP)

From source file com.appdevper.mediaplayer.app.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 cn.studyjams.s2.sj0132.bowenyan.mygirlfriend.nononsenseapps.notepad.data.receiver.NotificationHelper.java

public class NotificationHelper extends BroadcastReceiver {

    public static final int NOTIFICATION_ID = 4364;
    public static final String NOTIFICATION_CANCEL_ARG = "notification_cancel_arg";
    public static final String NOTIFICATION_DELETE_ARG = "notification_delete_arg";
    // static final String ARG_MAX_TIME = "maxtime";

From source file me.myatminsoe.myansms.SmsReceiver.java

/**
 * Listen for new sms.
 *
 * @author flx
 */
@SuppressWarnings("deprecation")

From source file org.androidpn.client.NotificationReceiver.java

/**
 * Broadcast receiver that handles push notification messages from the server.
 * This should be registered as receiver in AndroidManifest.xml.
 * 
 * @author Sehwan Noh (devnoh@gmail.com)
 */

From source file org.eeiiaa.wifi.WifiConnector.java

    public class WifiConnector extends BroadcastReceiver implements Runnable {

        // default ssid pwd
  public static final String NETSSID = "";
  public static final String NETPWD = ""; // for now no security later adding
                                        // password

From source file com.mutu.gpstracker.streaming.CustomUpload.java

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

From source file de.ub0r.android.websms.WebSMSReceiver.java

/**
 * Fetch all incoming Broadcasts and forward them to WebSMS.
 *
 * @author flx
 */
public final class WebSMSReceiver extends BroadcastReceiver {

From source file de.azapps.mirakel.reminders.ReminderAlarm.java

public class ReminderAlarm extends BroadcastReceiver {
    private static final String TAG = "ReminderAlarm";
    public static final String UPDATE_NOTIFICATION = "de.azapps.mirakel.reminders.ReminderAlarm.UPDATE_NOTIFICATION";
    public static final String SHOW_TASK = "de.azapps.mirakel.reminders.ReminderAlarm.SHOW_TASK";
    public static final String EXTRA_ID = "de.azapps.mirakel.reminders.ReminderAlarm.EXTRA_ID";
    @NonNull

From source file com.google.android.apps.muzei.notifications.NewWallpaperNotificationReceiver.java

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

    public static final String PREF_ENABLED = "new_wallpaper_notification_enabled";
    private static final String PREF_LAST_READ_NOTIFICATION_ARTWORK_ID = "last_read_notification_artwork_id";
    private static final String PREF_LAST_READ_NOTIFICATION_ARTWORK_IMAGE_URI = "last_read_notification_artwork_image_uri";