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.google.android.gcm.GCMBroadcastReceiver.java

/**
 * {@link BroadcastReceiver} that receives GCM messages and delivers them to
 * an application-specific {@link GCMBaseIntentService} subclass.
 * <p>
 * By default, the {@link GCMBaseIntentService} class belongs to the application
 * main package and is named

From source file me.kartikarora.transfersh.receivers.DownloadCompleteBroadcastReceiver.java

/**
 * Developer: chipset
 * Package : me.kartikarora.transfersh.receivers
 * Project : ProjectSevenEight
 * Date : 29/6/16
 */

From source file com.jsw.callcastreceiver.Call_BroadCastReceiver.java

/**
 * Created by usuario on 15/02/17.
 */

public class Call_BroadCastReceiver extends BroadcastReceiver {

From source file com.example.android.sunshine.app.GcmBroadcastReceiver.java

public class GcmBroadcastReceiver extends BroadcastReceiver {
    private final String LOG_TAG = BroadcastReceiver.class.getSimpleName();

    private static final String EXTRA_SENDER = "from";
    private static final String EXTRA_WEATHER = "weather";
    private static final String EXTRA_LOCATION = "location";

From source file at.ac.uniklu.mobile.sportal.util.LocalBroadcastCommunicator.java

public abstract class LocalBroadcastCommunicator extends BroadcastReceiver {

    // the action name used to send and receive intents
    private static String sAction = null;

    private static <T> void registerReceiver(LocalBroadcastCommunicator receiver, Context context) {

From source file com.example.android.directboot.BootBroadcastReceiver.java

/**
 * BroadcastReceiver that receives the following implicit broadcasts:
 * <ul>
 *     <li>Intent.ACTION_BOOT_COMPLETED</li>
 *     <li>Intent.ACTION_LOCKED_BOOT_COMPLETED</li>
 * </ul>

From source file eu.faircode.netguard.ReceiverPackageRemoved.java

public class ReceiverPackageRemoved extends BroadcastReceiver {
    private static final String TAG = "NetGuard.Receiver";

    @Override
    public void onReceive(final Context context, Intent intent) {
        Log.i(TAG, "Received " + intent);

From source file com.kdb.ledcontrol.BootReceiver.java

/**
 * Created by KDB on 03/01/2015.
 */
public class BootReceiver extends BroadcastReceiver {

    private String SHARED_PREF;

From source file org.linuxac.bilal.BilalAlarm.java

public class BilalAlarm extends BroadcastReceiver {
    public final static String EXTRA_EVENT_ID = "org.linuxac.bilal.EVENT_ID";

    @Override
    public void onReceive(Context context, Intent intent) {
        String message = intent.getStringExtra(BilalActivity.NOTIFY_MESSAGE);

From source file com.commonsware.android.remoteinput.RemoteInputReceiver.java

public class RemoteInputReceiver extends BroadcastReceiver {
    static final int NOTIFY_ID = 1337;
    static final String EXTRA_INPUT = "input";

    static NotificationCompat.Builder buildNotificationBase(Context ctxt) {
        NotificationCompat.Builder builder = new NotificationCompat.Builder(ctxt)