I want to make a app that runs in the background,even after removing it from the recent apps.
Asked
Active
Viewed 2,685 times
-4
-
create a service and keep it running in background – Akshay Katariya Jun 20 '18 at 10:08
-
2Possible duplicate of [How to make an android app to always run in background?](https://stackoverflow.com/questions/34573109/how-to-make-an-android-app-to-always-run-in-background) – Amir Dora. Jun 20 '18 at 10:22
-
Hi there, Please see this https://stackoverflow.com/a/50639788/5479863 – Abdul Aziz Jun 20 '18 at 11:17
1 Answers
0
If you device is Oreo or above Oreo u need to use Firebase JobDispatcher, Alarm Manger etc for long Running Service. For device below Oreo needs normal Service.
There are Some Limitations For Runnng long Services in Devices With Oreo and Higher. Please Refere the Documentation for more details

Shiva Snape
- 544
- 5
- 9