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.doplgangr.secrecy.OutgoingCallReceiver.java

@EReceiver
public class OutgoingCallReceiver extends BroadcastReceiver {
    @Pref
    Prefs_ Pref;

    @Override

From source file it.jaschke.alexandria.receiver.NotificationBroadcastReceiver.java

/**
 * Handles notifications broadcasted by {@link BookService}. Receives
 * {@link Intent}s with action  {@link BookService#ACTION_NOTIFY} and
 * displays messages using a {@link Toast} based on the {@link Intent}s
 * category (e.g. {@link BookService#CATEGORY_DOWNLOAD_ERROR}). In case of
 * {@link BookService#CATEGORY_SUCCESSFULLY_ADDED} or

From source file com.android.server.telecom.testapps.CallNotificationReceiver.java

/**
 * This class receives the notification callback intents used to update call states for
 * {@link TestConnectionService}.
 */
public class CallNotificationReceiver extends BroadcastReceiver {

From source file com.ubikod.capptain.android.sdk.track.CapptainTrackReceiver.java

/**
 * This is a bootstrap for the tracking module. To integrate this receiver in your
 * AndroidManifest.xml:
 * 
 * <pre>
 * {@code

From source file com.memetro.android.notifications.GcmBroadcastReceiver.java

public class GcmBroadcastReceiver extends BroadcastReceiver {
    static final String TAG = "GCM RECEIVER";
    public static final int NOTIFICATION_ID = 1;
    private NotificationManager mNotificationManager;

    public GcmBroadcastReceiver() {

From source file com.tomeokin.archsample.data.remote.NetworkReceiver.java

/**
 * ??
 */
public class NetworkReceiver extends BroadcastReceiver {
    public static final int ACTION_SHOW_NOTIFICATION_REQUEST_CODE = 0;

From source file com.noshufou.android.su.InstallReceiver.java

public class InstallReceiver extends BroadcastReceiver {
    private static final String TAG = "Su.InstallReceiver";

    @Override
    public void onReceive(Context context, Intent intent) {
        PackageManager pm = context.getPackageManager();

From source file com.tapchatapp.android.service.GCMReceiver.java

public class GCMReceiver extends BroadcastReceiver {

    private static final String TAG = "TapChatGCMReceiver";

    @Inject
    PusherClient mPusherClient;

From source file com.example.android.wifidirect.WiFiDirectBroadcastReceiver.java

/**
 * A BroadcastReceiver that notifies of important wifi p2p events.
 */
public class WiFiDirectBroadcastReceiver extends BroadcastReceiver {

    private WifiP2pManager manager;

From source file com.neuron.fantecremote.PhoneIntentReciever.java

public class PhoneIntentReciever extends BroadcastReceiver {
    @Override
    public void onReceive(Context context, Intent intent) {
        MyPhoneStateListener phoneListener = new MyPhoneStateListener(
                context.getSharedPreferences("fantecremote", 0));
        TelephonyManager telephony = (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE);