List of usage examples for android.content BroadcastReceiver subclass-usage
From source file com.android.tv.receiver.BootCompletedReceiver.java
/**
* Boot completed receiver for TV app.
*
* <p>It's used to
* <ul>
* <li>start the {@link NotificationService} for recommendation</li>
From source file com.github.marcosalis.kraken.utils.network.NetworkBroadcastReceiver.java
/**
* {@link BroadcastReceiver} for notifying application components about network
* connection availability changes on the device, such as a loss of data
* connectivity or the user disabling the active wireless.
*
* <b>Note:</b> clients should not use this class directly.<br>
From source file com.otaupdater.DownloadReceiver.java
public class DownloadReceiver extends BroadcastReceiver { public static final String DL_ROM_ACTION = "com.otaupdater.action.DL_ROM_ACTION"; public static final String DL_KERNEL_ACTION = "com.otaupdater.action.DL_KERNEL_ACTION"; public static final String CLEAR_DL_ACTION = "com.otaupdater.action.CLEAR_DL_ACTION";
From source file be.ppareit.swiftp.gui.FsNotification.java
public class FsNotification extends BroadcastReceiver { private final int NOTIFICATION_ID = 7890; @Override public void onReceive(Context context, Intent intent) {
From source file com.mfcoding.locationBP.receivers.LocationChangedReceiver.java
/** * This Receiver class is used to listen for Broadcast Intents that announce * that a location change has occurred. This is used instead of a LocationListener * within an Activity is our only action is to start a service. */ public class LocationChangedReceiver extends BroadcastReceiver implements LoaderCallbacks<Cursor> {
From source file de.incoherent.suseconferenceclient.app.AlarmReceiver.java
public class AlarmReceiver extends BroadcastReceiver { // TODO launch the event details activity on click @SuppressWarnings({ "deprecation" }) @Override public void onReceive(Context context, Intent intent) { Intent notificationIntent = new Intent(context, HomeActivity.class);
From source file com.yangtsaosoftware.pebblemessenger.receivers.CallStateHandler.java
/** * Created by yunshansimon on 14-9-17. */ public class CallStateHandler extends BroadcastReceiver { final static String LOG_TAG = "CallStateHandler";
From source file nabhack.localz.receiver.GcmBroadcastReceiver.java
/** * Handling of GCM messages. */ public class GcmBroadcastReceiver extends BroadcastReceiver { static final String TAG = "GcmBroadcastReceiver_localz"; public static final int NOTIFICATION_ID = 1;
From source file de.da_sense.moses.client.com.C2DMReceiver.java
/** * Main GCM receiver and message handler * @author Wladimir Schmidt * */ public class C2DMReceiver extends BroadcastReceiver {
From source file io.github.minime89.passbeam.hooks.NotificationListener.java
public class NotificationListener extends BroadcastReceiver { private static final String TAG = NotificationListener.class.getSimpleName(); private static final String ACTION_NOTIFICATION = PassBeamApplication.class.getPackage() + ".ACTION_NOTIFICATION"; private static final int NOTIFICATION_ID = 42;