can we open download folder via. intent?

abhishek kumar gupta picture abhishek kumar gupta · Feb 7, 2014 · Viewed 13.3k times · Source

Actually, I need to open the default Download folder from my application. Is it possible? If yes, then please provide some reference.

I am able to get the path of Download folder with the help of:

Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS)

Any help will be well appreciated.

Answer

Ion Aalbers picture Ion Aalbers · Feb 7, 2014

You can show the recent downloads activity with the following Intent

startActivity(new Intent(DownloadManager.ACTION_VIEW_DOWNLOADS));

Available since API 9