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
Post a Comment