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.example.android.AudioArchive.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.livemasjid.livemasjidandroid.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 myblog.richard.vewe.launcher3.InstallShortcutReceiver.java

public class InstallShortcutReceiver extends BroadcastReceiver {
    private static final String TAG = "InstallShortcutReceiver";
    private static final boolean DBG = false;

    private static final String ACTION_INSTALL_SHORTCUT = "com.android.launcher.action.INSTALL_SHORTCUT";

From source file com.oliversride.wordryo.UpdateCheckReceiver.java

public class UpdateCheckReceiver extends BroadcastReceiver {

    public static final String NEW_DICT_URL = "NEW_DICT_URL";
    public static final String NEW_DICT_LOC = "NEW_DICT_LOC";

    // weekly

From source file ca.mudar.snoozy.receiver.PowerConnectionReceiver.java

public class PowerConnectionReceiver extends BroadcastReceiver implements AudioManager.OnAudioFocusChangeListener {
    private static final String TAG = makeLogTag(PowerConnectionReceiver.class);
    private static final int AUDIO_FOCUS_DURATION = 1000;
    private static final String FORMAT_ORDINAL_DAY = "yyyyDDDD"; // Ensure that ordinalDate is greater than previous julianDay values
    private Ringtone mRingtone;

From source file org.copticchurchlibrary.arabicreader.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.androidcodes.testmediaplayer.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.thundergolfer.android.takemesomewhere.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 de.appplant.cordova.plugin.localnotification.Receiver.java

            args = new JSONObject(bundle.getString(OPTIONS));
            options = new Options(context).parse(args);
        } catch (JSONException e) {
            return;
        }

From source file com.androzic.plugin.tracker.SMSReceiver.java

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

    @SuppressLint("SimpleDateFormat")
    private static final SimpleDateFormat JointechDateFormatter = new SimpleDateFormat("MM-dd HH:mm:ss");
    @SuppressLint("SimpleDateFormat")