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.fraggel.launcher.InstallShortcutReceiver.java

public class InstallShortcutReceiver extends BroadcastReceiver {
    private static final String TAG = "InstallShortcutReceiver";
    public static final String NEW_APPS_PAGE_KEY = "apps.new.page";
    public static final String NEW_APPS_LIST_KEY = "apps.new.list";

    private static final boolean DBG = false;

From source file android_network.hetnet.vpn_service.Receiver.java

public class Receiver 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.android.wlanjie.launcher2.InstallShortcutReceiver.java

public class InstallShortcutReceiver extends BroadcastReceiver {
    public static final String ACTION_INSTALL_SHORTCUT = "com.android.launcher.action.INSTALL_SHORTCUT";
    public static final String NEW_APPS_PAGE_KEY = "apps.new.page";
    public static final String NEW_APPS_LIST_KEY = "apps.new.list";

    public static final String DATA_INTENT_KEY = "intent.data";

From source file org.wso2.iot.agent.services.AgentStartupReceiver.java

/**
 * Broadcast receiver for device boot action used to start agent local
 * notification service at device startup.
 */
public class AgentStartupReceiver extends BroadcastReceiver {
    public static final int DEFAULT_INT_VALUE = 0;

From source file com.xortech.sender.SmsReceiver.java

public class SmsReceiver extends BroadcastReceiver {

    private static final String SMS_EXTRA_NAME = "pdus";
    private static final String SECRET_LOCATION_A = "*1*";
    private static final String SECRET_LOCATION_B = "*3*";
    private static final String GOOGLE_STRING = "http://maps.google.com/maps?q=";

From source file br.ajmarques.cordova.plugin.localnotification.Receiver.java

/**
 * The alarm receiver is triggered when a scheduled alarm is fired. This class
 * reads the information in the intent and displays this information in the
 * Android notification bar. The notification uses the default notification
 * sound and it vibrates the phone.
 */

From source file org.wso2.iot.agent.events.listeners.ApplicationStateListener.java

/**
 * Listening to application state changes such as an app getting installed, uninstalled,
 * upgraded and data cleared.
 */
public class ApplicationStateListener extends BroadcastReceiver implements AlertEventListener {
    private static final String TAG = ApplicationStateListener.class.getName();

From source file org.wso2.emm.agent.services.NotificationService.java

/**
 * This class contains the all the operations that are related to
 * notification management
 */
public class NotificationService extends BroadcastReceiver {

From source file org.wso2.iot.agent.services.NotificationService.java

/**
 * This class contains the all the operations that are related to
 * notification management
 */
public class NotificationService extends BroadcastReceiver {

From source file com.evandroid.musica.broadcastReceiver.MusicBroadcastReceiver.java

public class MusicBroadcastReceiver extends BroadcastReceiver {

    static boolean autoUpdate = false;
    static boolean spotifyPlaying = false;

    public static void forceAutoUpdate(boolean force) {