List of usage examples for android.content BroadcastReceiver subclass-usage
From source file net.xisberto.work_schedule.settings.BootCompletedReceiver.java
public class BootCompletedReceiver extends BroadcastReceiver { public BootCompletedReceiver() { } @Override public void onReceive(Context context, Intent intent) {
From source file com.anjalimacwan.receiver.WearPluginReceiver.java
public class WearPluginReceiver extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { try { // Write note to disk
From source file com.rareventure.gps2.bootup.GpsTrailerReceiver.java
public class GpsTrailerReceiver extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { Log.d("GTG", "GpsTrailerReceiver called"); ContextCompat.startForegroundService(context, new Intent(context, GpsTrailerService.class));
From source file net.illusor.swipeplayer.services.AudioBroadcastHandler.java
/** * Wrapper for sending and receiving messages using android message system */ public class AudioBroadcastHandler extends BroadcastReceiver { private static final String ACTION_PLAY_AUDIO = "net.illusor.swipeplayer.services.SoundService.Play"; private static final String ACTION_PLAY_STOP = "net.illusor.swipeplayer.services.SoundService.Stop";
From source file io.flutter.plugins.firebase_messaging.FirebaseMessagingPlugin.java
/** FirebaseMessagingPlugin */ public class FirebaseMessagingPlugin extends BroadcastReceiver implements MethodCallHandler, NewIntentListener { private final Activity activity; private final MethodChannel channel; private static final String CLICK_ACTION_VALUE = "FLUTTER_NOTIFICATION_CLICK";
From source file com.demo.android.smsapp.receivers.SMSReceiver.java
public class SMSReceiver extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { final Bundle bundle = intent.getExtras(); try {
From source file in.co.recex.detainseventyfive.BroadcastRec.java
/** * Created by sopandev on 28/8/13. */ public class BroadcastRec extends BroadcastReceiver { @Override
From source file in.com.ralarm.alert.AlarmAlertBroadcastReciever.java
public class AlarmAlertBroadcastReciever extends BroadcastReceiver { static final String TAG = "GCMDemso"; public static final int NOTIFICATION_ID = 1; private NotificationManager mNotificationManager; NotificationCompat.Builder builder;
From source file id.satusatudua.sigap.service.LocationReceiver.java
/**
* Created on : November 23, 2015
* Author : zetbaitsu
* Name : Zetra
* Email : zetra@mail.ugm.ac.id
* GitHub : https://github.com/zetbaitsu
From source file locationkitapp.locationkit.locationkitapp.ServiceReceiver.java
public class ServiceReceiver extends BroadcastReceiver { private boolean useNotifications = true; private static final String LOG_TAG = "ServiceReceiver"; private int notifyId = 0; static { AndroidLogger.registerRemoteLogger(EventLogger.getInstance());