-1

i need URL scheme for default android download manager. like whats app url scheme ( whatsapp://send?text= ) as like line ( line://msg/text/ ). i need android default download manager's URL scheme to allow users download my design from my app . for ex: 'downloadmanager://fileurl?file=http://domain.com/photo1.jpg' . please help me . i hope you understand my question

deva
  • 91
  • 9

2 Answers2

0

You do not need to send Intents to download manager. Use this:

DownloadManager dm = (DownloadManager) _context.getSystemService(DOWNLOAD_SERVICE);
        Request request = new Request(
                Uri.parse("http://www.example.com/path/image.jpg"));
        dm.enqueue(request);
Malwinder Singh
  • 6,644
  • 14
  • 65
  • 103
0

i need URL scheme for default android download manager

There is no scheme specific to the Downloads app.

CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491
  • thanks ..but i just want to download images .. so i think maybe url scheme help me in this .. – deva Apr 16 '16 at 11:02