Android Question download folder

Espinosa4

Active Member
Licensed User
Longtime User
Hi,

Can I access to download folder? How can I do it? Any easy example please?
Thank you very much indeed
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Upvote 0

Espinosa4

Active Member
Licensed User
Longtime User
Yes, you can directly access it for now, but it is a mistake in most cases.
Its path is File.Combine(File.DirRootExternal, "Download").
You need to request the write external storage runtime permission.
You need to request the legacy external storage option (https://www.b4x.com/android/forum/threads/android-jar-targetsdkversion-minsdkversion.87610/#content). This will be blocked in the not far future.
As ever thank you very much indeed Erel for your help!

Best regards.
 
Upvote 0
Top