android - Update DownloadManager.Request -


use case: user downloading file on wifi , loses connection. if device switches on mobile network, user should give permission continue downloading on mobile network.

question: possible update downloadmanager.request , call setallowednetworktypes(downloadmanager.request.network_wifi|downloadmanager.request.network_mobile); on it, can continue downloading on mobile network without starting new download?


Comments

Popular posts from this blog

javascript - Knockout pushing observable and computed data to an observable array -

'hasOwnProperty' in javascript -

Trouble making a JSON string -