javaandroidserviceandroid-intentservice

Can multiple service perform work parallelly at the same time


I am developing an app which has multiple features which need to perform work in the background.

Each feature needs to run at the same time and perform some work parallelly.

Currently, I am using JobIntentService to perform work but I have noticed that when I try to run multiple JobIntentServices then only one run while others are made to wait and executed one by one.

I am planning to use the Service. I want to know can 5 services run at the same time and perform work parallelly?

If no then is there any alternative?

Any help would be grateful.


Solution

  • Yes. It is possible to run services parallelly in Android.