Download file from the internet and update media DB

This set of functions will help you to download file from the internet and update the media database to make the newly downloaded file visible in media galleries on the device. Additionally, download progress callback is invoked and displaying progress in the console logs.