Top "Service" questions

A Service is a long-running executable that performs specific functions and which is designed not to require user intervention.

mysql service fails to start/hangs up - timeout (Ubuntu, MariaDB)

I set up my first Ubuntu Server with Ubuntu 16.04, nginx, php7.0, MariaDB, nextcloud and external DynDNS using this tutorial here: …

mysql service timeout mariadb autostart
How to record video from background of application : Android

I am developing an application which will be able to record video from background of application by using Service. Problem …

android service media video-capture
What the difference between a Windows service and a Windows process?

What is the difference between a Windows service and a Windows process?

windows service process
Using ResultReceiver in Android

Fundamentally, I would like to establish a callback to an Activity from an IntentService. My question is very similar to …

android service callback android-activity
Getting the Application Context

This might be a simple question but I just wanted to make sure I am right. In my android application …

android android-activity service android-context
How to inject the @request into a service?

When I try to inject the @request into any of my services, I get this exception: ScopeWideningInjectionException: Scope Widening Injection …

symfony service dependency-injection
java.lang.RuntimeException: Handler (android.os.Handler) sending message to a Handler on a dead thread

in my app I'm using IntentService for sending SMS. @Override protected void onHandleIntent(Intent intent) { Bundle data = intent.getExtras(); String[] …

android android-intent service handler runtimeexception
Non-Singleton Services in AngularJS

AngularJS clearly states in its documentation that Services are Singletons: AngularJS services are singletons Counterintuitively, module.factory also returns a …

service angularjs singleton instance factory
How can I keep my Android service running when the screen is turned off?

When the screen turns off, my application service is paused. I start my service with the following code: if (mSharedPrefs.…

android service
How can I configure a systemd service to restart periodically?

I have a simple systemd service that needs to be periodically restarted to keep its process from bugging out. Is …

linux service systemd