I am trying to create an app that will check if a particular process is running in the background and if needed will kill the process.
Can someone please help me with finding the list of a background process running on my system (phone)
I am trying to create an app that will check if a particular process is running in the background and if needed will kill the process.
Can someone please help me with finding the list of a background process running on my system (phone)
Hi @Shrawan_Singh Welcome
I am little confused between background app and background service/process.
Can you solve my doubt?
Here are a few references that might bring some clarity:
Working with WorkManager, from the 2018 Android Dev Summit
WorkManager: Beyond the basics, from the 2019 Android Dev Summit
Use extension with "LINUX" command
ps
ps -A
service list
top
kill (to kill process)
...
You probably mean this: