NotificationListenerService-Example
NotificationListenerService-Example copied to clipboard
setting result
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
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.