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

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -