I have found that Service is run in Main Thread i.e. UI Thread in Android whereas Intent Service runs in a new worker thread(Reference link: What is the difference between an IntentService and a Service?). My question is if I killed the application then the main thread of that app should be closed. Then how a sticky service runs in background?
Asked
Active
Viewed 52 times
1
-
https://stackoverflow.com/questions/9093271/start-sticky-and-start-not-sticky – Kirguduck Feb 06 '20 at 15:56