java - Download a folder to internal storage and list the folder items in separate listview -
in application, want download folder , store internal storage,that folder contains sample.text, sample.jpg, sample.pdf , sample.mp4. want store each file type particular folder. example, .text files go text folder.
my question was
- how download folder
- how list folder items in separate listview (sample.text file go textlist,sample.pdf go pdflist etc..)
please me!!
its simple file extension use switch statement , store specific file in specific folder.
string ext= getfileextension(string fileurl) { case ".jpg" : storefile("d:/images"); break; . . . . .//and on }
Comments
Post a Comment