How to start the NotificationListenerService on Android
问题 I would like to access notifications on a Android phone by using the NotificationListenerService. I checked lots of tutorials but I can't find where they call the service. Should I use bindService or startService on MainActivity? How should the intents look like? Can someone show me the syntax of this? Check out one of the service implementations I am studying: public class NLService extends NotificationListenerService { Context context; @Override public void onCreate() { super.onCreate();