I need to create a menu to select the folder in which the file will be

I need to download a file from a link using network.download(), then show a menu with a folder selection, and save the downloaded file to this folder. All this should work on Android, can you give examples or a link to the documentation?