Android DownloadManager for download

Is there an analog of Androids DownloadManager ? I want to start downloading files and when the application is killed the download should continue. It should offer similar capabilities, such as customizing headers, progress notification, notification hub integration, etc.

I found https://github.com/alexbbb/android-upload-service but uses ServiceIntent. Thus, it will stop working when the application is killed. Or did I understand something wrong?

If there is no equivalent: What's the best way to create a background service that starts regardless of the state of the application? I looked at Services, AsyncTask, ServiceIntent, but it all stops when the app dies !?

+3


source to share





All Articles