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

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -