Is there a counterpart to androids DownloadManager? I want to start uploading files and when the app gets killed, the upload should continue. It should offer similar possibilities like setting headers, progress notification, notification hub integration, etc.
I found https://github.com/alexbbb/android-upload-service but it is using a ServiceIntent. So it will stop the work when the app gets killed. Or did I understand something wrong?
If there is no counterpart: What is the best way to write a background service that run independent from the app state? I had a look at Services, AsyncTask, ServiceIntent, but all of these will stop when the app dies!?