When I am downloading the mp4 video Files using Download Manager, its getting downloaded. After Downloading process is completed I could be able to play the mp4 video Files.
In my app, I given the Title name is, File Downloader and video file name is video.mp4
That is, request.setTitle("File Downloader");
When I am downloading at second time, Downloading gets failed. Since same Title name that is File Downloader.
Why is it getting Failed? But when I am deleting previous video files and clicked download button, it's fine. Downloading completely and could be able to play the videos.
My doubt is, why same Downloading files are couldn't be downloaded again and again and its geting conflicted . I mean, failed .
Only once I could be able to download the files and playing well not at the second time which has same Downloading file names.
Error is:
In Emulator - Download Failed, Cannot Download since the Destination File already exists!
Android Docs- ERROR FILE ALREADY EXISTS !
By above link, how can I solve this issue?