Erf Erf - 1 year ago 70
Android Question

is can possible disable complete action using?

below code download file from url :

Intent intent=new Intent(Intent.ACTION_VIEW, Uri.parse(""));

but before download complete action using come and i don't want this , want download start without asking complete action using like when we use http connection in AsyncTask way . so is can possible ?

Answer Source

That isn't how you download something. That's how you launch an activity that claims to read websites, and tell it to open that website. If you want to download something, either use an HTTP connection of your own or use DownloadManager.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download