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

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

javascript - Confirm a form & display message if form is valid with JQuery -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -