Android: Prevention backup file after download -


i use code download , save sdcard download folder

uri download_uri = uri.parse(link); downloadmanager.request request = new downloadmanager.request(download_uri); request.setallowedoverroaming(false); request.setmimetype(exe); string pathtoexternalstorage = environment.getexternalstoragepublicdirectory(environment.directory_downloads).getabsolutepath(); request.setdestinationuri(uri.fromfile(new file(pathtoexternalstorage + "file.mp3"))); downloadmanager.enqueue(request); 

after download completed , create backup file in audio folder

how prevention action?

note : if delete file download folder , remains audio folder


Comments

Popular posts from this blog

scala - 'wrong top statement declaration' when using slick in IntelliJ -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

PySide and Qt Properties: Connecting signals from Python to QML -