NotificationListenerService-Example icon indicating copy to clipboard operation
NotificationListenerService-Example copied to clipboard

setting result

Open songzhiyong opened this issue 10 years ago • 1 comments

I use following code to open Notification Access setting screen

Intent intent=new Intent("android.settings.ACTION_NOTIFICATION_LISTENER_SETTINGS");
startActivity(intent);

Is there any way that i can get the result of the setting, like startActivityForResult something

songzhiyong avatar Aug 19 '14 07:08 songzhiyong

Instead of that you can check the current active notification listeners and search for yours, is the only way possible to check if your NotificationListenerService is up and running.

CarlosACepeda avatar Sep 13 '19 17:09 CarlosACepeda