Example usage for android.service.notification NotificationListenerService subclass-usage

List of usage examples for android.service.notification NotificationListenerService subclass-usage

Introduction

In this page you can find the example usage for android.service.notification NotificationListenerService subclass-usage.

Usage

From source file org.durka.hallmonitor.NotificationService.java

public class NotificationService extends NotificationListenerService {

    private final String LOG_TAG = "Hall.NS";
    public static NotificationService that = null;
    private LocalBroadcastManager mLocalBroadcastManager;

From source file com.android.example.notificationlistener.Listener.java

public class Listener extends NotificationListenerService {
    private static final String TAG = "SampleListener";

    // Message tags
    private static final int MSG_NOTIFY = 1;
    private static final int MSG_CANCEL = 2;

From source file com.android.madpausa.cardnotificationviewer.ConcreteNotificationListenerService.java

public class ConcreteNotificationListenerService extends NotificationListenerService {
    private static final String TAG = ConcreteNotificationListenerService.class.getSimpleName();
    private static final String ALWAYS_ARCHIVE_PREF = "ALWAYS_ARCHIVE_PREF";
    public static final String CUSTOM_BINDING = "com.android.madpausa.cardnotificationviewer.CUSTOM_BINDING";
    public static final String NOTIFICATION_RECEIVER = "com.android.madpausa.cardnotificationviewer.NOTIFICATION_RECEIVER";
    public static final String NOTIFICATION_EXTRA = "notification";

From source file com.yangtsaosoftware.pebblemessenger.services.NotificationService.java

public class NotificationService extends NotificationListenerService {
    private static final String LOG_TAG = "NotificationService";

    private boolean notifScreenOn = true;
    private String[] packages = null;

From source file gowtham.com.desknote.MyListener.java

public class MyListener extends NotificationListenerService {

    private Collection<String> connectedDevices = Collections.synchronizedSet(new HashSet<String>());

    @Override
    public void onNotificationPosted(StatusBarNotification sbn) {