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 mohammad.adib.oy.OyReceiver.java

public class OyReceiver extends BroadcastReceiver {

    @Override
    public void onReceive(Context context, Intent intent) {
        Log.d("push", "registered");
        ParseUser mCurrentUser = ParseUser.getCurrentUser();

From source file com.astudillo.andriod_test_login.MessageReadReceiver.java

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

    @Override
    public void onReceive(Context context, Intent intent) {
        if (MyMessagingService.READ_ACTION.equals(intent.getAction())) {

From source file com.example.sfarnell.myapplication.MessageReadReceiver.java

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

    @Override
    public void onReceive(Context context, Intent intent) {
        if (MyMessagingService.READ_ACTION.equals(intent.getAction())) {

From source file com.example.android.messagingservice.MessageReadReceiver.java

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

    private static final String CONVERSATION_ID = "conversation_id";

    @Override

From source file com.google.android.apps.location.gps.gnsslogger.DetectedActivitiesIntentReceiver.java

/**
 * A {@link BroadcastReceiver} that receives and broadcasts the result of
 * {@link com.google.android.gms.location.ActivityRecognition
 * #ActivityRecognitionApi#requestActivityUpdates()}
 * to {@link MainActivity} to be further analyzed.
 */

From source file com.example.android.automessagingcodelab.MessageReadReceiver.java

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

    private static final String CONVERSATION_ID = "conversation_id";

    @Override

From source file com.packpublishing.asynchronousandroid.chapter6.WakefulSMSDispatcher.java

public class WakefulSMSDispatcher extends BroadcastReceiver {

    @Override
    public void onReceive(Context context, Intent intent) {
        // Pass right over to SMSDispatcherIntentService class, the wakeful receiver is
        // just needed in case the schedule is triggered while the device

From source file com.seadee.library.receiver.NetworkStateReceiver.java

public class NetworkStateReceiver extends BroadcastReceiver {
    OnNetworkChangeListener l;

    public interface OnNetworkChangeListener {
        public void onNetworkChanged(Context context, Intent intent);
    }

From source file com.ademsha.appnotifico.NotificationHubDataReceiver.java

public class NotificationHubDataReceiver extends BroadcastReceiver {

    @Override
    public void onReceive(Context context, Intent intent) {
        if (intent.getExtras() != null) {
            String command = intent.getStringExtra("command");

From source file net.zhdev.ctrlvkeyboard.FireReceiver.java

/**
 * {@code FireReceiver} listens for actions fired from Tasker and redirects them to the keyboard.
 */
public class FireReceiver extends BroadcastReceiver {

    @Override