Android Download Manager

前端 未结 4 1214
慢半拍i
慢半拍i 2021-02-06 13:29

I think i have a rather simple question.

http://www.vogella.com/blog/2011/06/14/android-downloadmanager-example/

I have been following a tutorial in the above ur

4条回答
  •  一生所求
    2021-02-06 13:47

    The last line in CommonsWare's answer states the destination. He just uses the regular download-folder on the sdcard, but you could as well do this:

    req.setDestinationInExternalPublicDir("/mnt/sdcard/Myfolder", "file_name.extension");
    

提交回复
热议问题