Android Question Can I save data to a specific folder on my own tablet?

oleg_

Member
Licensed User
Can I save data to a specific folder on my own tablet? And if so, how to do it?

Well, for example,
/storage/emulated/0/Download.

The fact is that I always develop my programs only for myself. And I know for sure that there is such a folder on my tablet.

If I understand correctly, all these

File.DirInternal / File.DirInternalCache
File.DirRootExternal
File.DirDefaultExternal


are intended for those programs that we give to someone and we do not know in advance what folders they have on the device.

I tried this File.DirInternal and I didn't like that using the file manager it is impossible to find the saved files.
And for some reason File.DirRootExternal doesn't work at all. Maybe Root rights are needed for this?
 

aeric

Expert
Licensed User
Longtime User
Here are some examples:


 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Upvote 0
Top