Search code examples
androidandroid-intentandroid-download-manager

can we open download folder via. intent?


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.


Solution

  • You can show the recent downloads activity with the following Intent

    startActivity(new Intent(DownloadManager.ACTION_VIEW_DOWNLOADS));
    

    Available since API 9