Path to download directory

Hello,

I have read through some forum that it is possible to access the download directory by adding the authorization “android.permission.WRITE_EXTERNAL_STORAGE” and using the following command :
Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS)
to get the actual download path of the device.

Has anyone used successfully used this trick?
Or any alternative solution is welcomed :slight_smile: