DownloadManager is an android system service that handles long-running HTTP downloads. Apps request for downloads by passing a URI or also tell the destination folder in where you want to store that specific file.
Step by Step Tutorial and Video Demo is available here - http://codinginfinite.com/android-download-manager-example/