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.nagopy.android.xposed.SettingChangedReceiver.java

/**
 * ????????.
 */
public abstract class SettingChangedReceiver extends BroadcastReceiver {

    /**  */

From source file org.ros.android.android_acm_serial.UsbDeviceDetachedReceiver.java

/**
 * @author damonkohler@google.com (Damon Kohler)
 */
final class UsbDeviceDetachedReceiver extends BroadcastReceiver {

    private static final boolean DEBUG = true;

From source file com.juanojfp.gcmsample.GcmBroadcastReceiver.java

/**
 * Handling of GCM messages.
 */
public class GcmBroadcastReceiver extends BroadcastReceiver {

    static final String TAG = "GCMDemo";

From source file cz.maresmar.sfm.plugin.RunPlanReceiver.java

/**
 * {@link BroadcastReceiver} that allows planing of {@link JobIntentService} from another process
 */
public class RunPlanReceiver extends BroadcastReceiver {
    @Override
    public void onReceive(Context context, Intent intent) {

From source file com.jesusla.google.BillingReceiver.java

/**
 * This class implements the broadcast receiver for in-app billing. All asynchronous messages from
 * Android Market come to this app through this receiver. This class forwards all
 * messages to the {@link BillingService}, which can start background threads,
 * if necessary, to process the messages. This class runs on the UI thread and must not do any
 * network I/O, database updates, or any tasks that might take a long time to complete.

From source file net.eledge.android.europeana.gui.notification.receiver.UrlButtonReceiver.java

public class UrlButtonReceiver extends BroadcastReceiver {

    public static final String PARAM_NOTIFICATIONID = "notificationId";
    public static final String PARAM_URL = "url";

    @Override

From source file in.dc297.mqttclpro.tasker.FireReceiver.java

public final class FireReceiver extends BroadcastReceiver {

    private static final String LOG_TAG = "tasker.FireReceiver";

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

From source file org.mo.netstatus.NetStateReceiver.java

public class NetStateReceiver extends BroadcastReceiver {

    public final static String CUSTOM_ANDROID_NET_CHANGE_ACTION = "org.mo.library.net.conn.CONNECTIVITY_CHANGE";
    private final static String ANDROID_NET_CHANGE_ACTION = "android.net.conn.CONNECTIVITY_CHANGE";
    private final static String TAG = NetStateReceiver.class.getSimpleName();

From source file net.primeranks.fs_viewer.fs_replay.ConnectionChangedBroadcastReceiver.java

public class ConnectionChangedBroadcastReceiver extends BroadcastReceiver {

    public void onReceive(Context context, Intent intent) {
        String info = intent.getStringExtra(ConnectivityManager.EXTRA_EXTRA_INFO);
        NetworkInfo nwInfo = intent.getParcelableExtra(ConnectivityManager.EXTRA_NETWORK_INFO);
        Log.d(Config.LOG_AS, info + ": " + nwInfo.getReason());

From source file org.mozilla.focus.broadcastreceiver.DownloadBroadcastReceiver.java

/**
 * BroadcastReceiver for finished downloads
 */
public class DownloadBroadcastReceiver extends BroadcastReceiver {
    private static final String FILE_SCHEME = "file://";
    private static final String FILE_PROVIDER_EXTENSION = ".fileprovider";