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.irccloud.android.NotificationDismissBroadcastReceiver.java

public class NotificationDismissBroadcastReceiver extends BroadcastReceiver {

    @Override
    public void onReceive(Context ctx, Intent i) {
        if (i.hasExtra("eids")) {
            int bid = i.getIntExtra("bid", -1);

From source file org.mozilla.gecko.distribution.ReferrerReceiver.java

public class ReferrerReceiver extends BroadcastReceiver {
    private static final String LOGTAG = "GeckoReferrerReceiver";

    private static final String ACTION_INSTALL_REFERRER = "com.android.vending.INSTALL_REFERRER";

    // Sent when we're done.

From source file com.example.app.digits.ContactsReceiver.java

public class ContactsReceiver extends BroadcastReceiver {
    static final int NOTIFICATION_ID = 0;

    @Override
    public void onReceive(Context context, Intent intent) {
        final NotificationManager notificationManager = (NotificationManager) context

From source file edu.rosehulman.gcmadkservice.GcmBroadcastReceiver.java

/**
 * This {@code WakefulBroadcastReceiver} takes care of creating and managing a
 * partial wake lock for your app. It passes off the work of processing the GCM
 * message to an {@code IntentService}, while ensuring that the device does not
 * go back to sleep in the transition. The {@code IntentService} calls
 * {@code GcmBroadcastReceiver.completeWakefulIntent()} when it is ready to

From source file com.careme.apvereda.careme.DailyAlarm.java

/**
 * Sends a notification to the user when an alarm is received
 */
public class DailyAlarm extends BroadcastReceiver {

    @Override

From source file com.android.tripgenie.auto.MessageReplyReceiver.java

/**
 * A receiver that gets called when a reply is sent to a given conversationId
 */
public class MessageReplyReceiver extends BroadcastReceiver {

    private static final String TAG = MessageReplyReceiver.class.getSimpleName();

From source file com.lhtechnologies.DoorApp.AuthenticatedReceiver.java

public class AuthenticatedReceiver extends BroadcastReceiver {

    private Timer timer;
    private NotificationManager mNotificationManager;

    @Override

From source file com.commonsware.android.wearvoice.VoiceReceiver.java

public class VoiceReceiver extends BroadcastReceiver {
    static final String EXTRA_SPEECH = "speech";

    @Override
    public void onReceive(Context ctxt, Intent i) {
        Bundle input = RemoteInput.getResultsFromIntent(i);

From source file com.bhb27.isu.services.SuServiceReceiver.java

public class SuServiceReceiver extends BroadcastReceiver {

    private static final String TAG = "iSu_SuServiceReceiver";

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

From source file com.ohhonghong.invite.ReferrerReceiver.java

public class ReferrerReceiver extends BroadcastReceiver {

    public ReferrerReceiver() {
    }

    @Override