Top "Android-service" questions

A Service is an application component representing either an application's desire to perform a longer-running operation while not interacting with the user or to supply functionality for other applications to use.

Error calling toast from Service Android

Possible Duplicate: Android Toast started from Service only displays once I'm using Service Android defined in android.app.Service. I …

android multithreading android-service toast
Background service to control proximity sensor

I need to run a service (always in background, I want the service constantly checking even if the application is …

android android-service proximity background-service proximitysensor
Android foreground service consistently throws "java.lang.IllegalArgumentException: Service not registered" exception

My project requires an android foreground service to run continuously (even after the application is destroyed). To this effect I …

android android-service android-8.0-oreo android-service-binding
how to create a PERMANENT background service on android

I'm having a nightmare trying to create a simple background service on android that runs permanently. This service will be …

android android-service android-background
When to use and when not to use a Service in Android

I have been developing for Android for little less then 2 years, and I am still puzzled by this seemingly simple …

android android-service android-lifecycle
Services and ViewModels in Android MVVM - How do they interact?

I've been using ViewModels from Android Architecture for some time now, and abide by never exposing the ViewModel to Context/…

android mvvm android-service android-architecture-components
binding a service to multiple activities

My service is correctly binded to my first activity but when I try to bind it to a second activity …

android android-service android-service-binding
Repeating Alarm Manager After reboot

i want to create broadcast AlarmManager(repeating) with Notification message.i pass my calender object from Pickers. If i don't …

android android-service android-broadcast
Notification RemoteView on click listener

So, after a lot of head scratching, I am at my wit's end. I have a media player RemoteViews in …

android android-service android-pendingintent android-remoteview
Android Service extends ResultReceiver for IntentService, how to implement CREATOR?

My app relies on a Service which stays in sync with external hardware in the background. Because the service operates …

android android-service intentservice android-intentservice