How to pause / resume loading in Android programming?

I really want to use the android.app.DownloadManager class, also I want to add the Pause / Resume function to my Android application.

as the google guide says:

The download manager (android.app.DownloadManager) will download in the background, taking care of HTTP interactions and retrying after failures or changes in the connection and rebooting the system.

I think we can add the Pause / Resume feature to this class without writing a new download manager, Like: DownloadProvider

Can someone help me?

+1
source share

Source: https://habr.com/ru/post/944129/


All Articles