How we download File from URL in android


There are many methods to download files from the server.

  1. Use android.permission.WAKE_LOCK AsyncTask
  2. Download From service by adding <service android:name=“.DownloadService”/>
  3. Use DownLoadManager class and many others.

I am discussing with DownLoadManager, it is applied on the GingerBread or above version of applications.

GingerBread brought a new feature, DownloadManager, which allows you to download files easily and delegate the hard work of handling threads, streams, etc. to the system.

Find alert message when File has downloaded-



. . .

Leave a Comment

Your email address will not be published. Required fields are marked*

Be the first to comment.


Webkul is a truly trusted and supported IT Company to develop business ideas for e-commerce. They provide professional support after deploying the solution to production and be responsible to act for fixing the reported issues or system errors. We highly encourage to deal with Webkul for business development.

Hussein Zawia

Hussein Zawia

Co-founder, 24Dokan

Talk to Sales


Live Chat
Start a Project

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home