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 org.amahi.anywhere.util.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.example.android.supportv4.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 com.allthatseries.RNAudioPlayer.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.lgallardo.qbittorrentclient.NotifierService.java

/**
 * Created by lgallard on 2/22/15.
 */
public class NotifierService extends BroadcastReceiver {

    public static String qb_version = "3.2.x";

From source file com.cerema.cloud2.files.InstantUploadBroadcastReceiver.java

public class InstantUploadBroadcastReceiver extends BroadcastReceiver {

    private static String TAG = InstantUploadBroadcastReceiver.class.getName();
    // Image action
    // Unofficial action, works for most devices but not HTC. See: https://github.com/owncloud/android/issues/6
    private static String NEW_PHOTO_ACTION_UNOFFICIAL = "com.android.camera.NEW_PICTURE";

From source file com.zion.htf.receiver.AlarmReceiver.java

public class AlarmReceiver extends BroadcastReceiver {
    @Override
    public void onReceive(Context context, Intent intent) {
        // Get preferences
        Resources res = context.getResources();
        SharedPreferences pref = PreferenceManager.getDefaultSharedPreferences(context);

From source file com.embeddedlog.LightUpDroid.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.vonglasow.michael.satstat.GpsEventReceiver.java

public class GpsEventReceiver extends BroadcastReceiver {
    public static final String TAG = GpsEventReceiver.class.getSimpleName();

    /**
     * A dummy intent called when a location update is received.
     * <p>

From source file nuclei.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 at.flack.receiver.FacebookReceiver.java

public class FacebookReceiver extends BroadcastReceiver {

    private Activity main;
    private SharedPreferences sharedPrefs;
    private boolean notify;
    private boolean vibrate, headsup;