Top "Android-service-binding" questions

In Android applications, a bound service is an implementation of the Service class that allows other applications to bind to it and interact with it.

Android java.lang.IllegalArgumentException: Service not registered

I have a setup that looks something like this: class MyFragment implements SomeEventListener { Application mAppContext; boolean mBound; boolean mDidCallUnbind; MyIBinder …

android android-service android-service-binding
Android: java.lang.IllegalArgumentException: Service not registered

I have activity, that starts service and binds it. But I want my service to run even if the activity …

java android android-service-binding
How to communicate between Firebase Messaging Service and Activity? Android

I know the question about how to communicate between a service and an activity has been answered many times but …

android firebase android-asynctask static-methods android-service-binding
How to restart service after the app is killed from recent tasks

I have created a service to fetch current location of the device in periodic intervals. I want the service to …

android android-service restart background-service android-service-binding
Service: onTaskRemoved not called if started with bindService

I have a Service in which the onTaskRemoved() method has been implemented. When the service is started with startService() the …

android android-service android-service-binding
Getting java.lang.ClassCastException: android.os.BinderProxy every time i declare and run two services

I am encountering following binder.proxy exception every time i declare and run two services. One service runs in different …

java android android-service android-service-binding
Android download queue using DownloadManger

I'm using DownloadManager to download my files in android and its great since it handles everything (connectivity lost, retry, etc.) …

android android-service android-download-manager android-service-binding
Issue Moving from IntentService to JobIntentService for Android O

I am using Intent Service to monitor Geofence transition. For that I am using following call from a Sticky Service. …

android android-geofence android-service-binding android-8.0-oreo
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 …

android notifications android-service android-service-binding notification-listener