Can I use android build-in browser download manager to download files in my application?
In case of audio files, opening remote file url using Intent.ACTION_VIEW with data type "audio/*" causes browser to start playback, but I'd like to force download of specified file.
The download manager is not part of the public SDK. You are welcome to download files from URLs via HttpURLConnection
or HttpClient
, both part of the Android SDK.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With