I need to implement a code in an app, which should see the available files on the web server. Display them in the listview with check boxes and finally when user clicks on download button it downloads the files in SDCARD.
I have following things working.
– Downloading from Web Server and saving in SDCARD (but filenames are hardcoded in URL).
You might want to try this solution
Then iterate over the list and cast it to a string
If what you mean is getting the file name from the URL string you can use
To replace all the unnecessary part of the string by using regular expression