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

'hasOwnProperty' in javascript -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -