Top "Background-service" questions

A background service is a computer service that runs "behind the scenes" (i.e. in the background) and without user intervention.

startForeground fail after upgrade to Android 8.1

After upgrading my phone to 8.1 Developer Preview my background service no longer starts up properly. In my long-running service I've …

android service kotlin android-notifications background-service
How to update LiveData of a ViewModel from background service and Update UI

Recently I am exploring Android Architecture, that has been introduced recently by google. From the Documentation I have found this: …

android viewmodel background-service android-room android-architecture-components
iOS: Keep an app running like a service

In iOS, how would I instruct the OS to keep my app running even if it is no longer in …

ios iphone ipad foreground background-service
Android Background Service is restarting when application is killed

I am developing an application in which a background service is created to collect sensor data. I am starting the …

android service background-service
How to check MIUI autostart permission programmatically?

I need to check programmatically if the auto start permission for my app in MIUI phone is on or off. …

android autostart background-service
keeping background service alive after user exit app

I'm trying to create a service that will do background jobs for me even after the user closes the app …

android service android-service background-service
Android application as a service without activity

I am making a set of apps and I have pretty much the same background service for all of them. …

android android-service google-play-services background-service
Get location in Ionic/Cordova app when in background

Is it possible to run a background service if I close my Ionic/Cordova app (both for iOS and Android) ? …

cordova ionic-framework background background-service
How to run BackgroundService on a timer in ASP.NET Core 2.1

I want to run a background job in ASP.NET Core 2.1. It has to run every 2 hours and it will …

c# asp.net-core background-process asp.net-core-2.1 background-service
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