Download file from the internet and update media DB

Download file from the internet and update media DB

BY 26 Jan 2016 Native Code Snippet
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.
Written by