I’ve got a link for a media file on the web that my application usually plays using a MediaPlayer. I want the user to be able to download the file and save it on his device.
How can I download the file and save it on a predefined folder on his device.
I’m actually asking for two things
1) How to download a file
2) How to save a file to the device’s memory.
I’ve got a link for a media file on the web that my application
Share
You may want to do HTTP GET to get a file, start looking at HttpClient class and example, to save, data storage.