Kivy service stops when app is closed
I'm starting a service from my Kivy app: service = autoclass('net.saband.myapp.ServiceMyservice') mActivity = autoclass('org.kivy.android.PythonActivity').mActivity service.start(mActivity, '') It works. And if I close my app using the back button my service still works. But if I close my app by swiping it out from the recent apps list the service dies. I've found this issue and tried to use startForeground guided by this article . It works but the notification is not removable so this solution doesn't suit me. I've read this question and it looks like I could be helped using START_STICKY...