Android Question Files question(SOLVED)

Stichler

Active Member
Licensed User
I want to add folders to the Files folder in my project for keeping things organized. For instance I'd like to have an Images folder. Would the call to this folder be DirInternal/Images? DirInternal.Images?
 

Claudio Oliveira

Active Member
Licensed User
Longtime User
File.DirInternal returns the path to your application internal folder.
You can create a Images folder inside it. To do so, use:
B4X:
File.MakeDir(File.DirInternal, "Images")

To read/write to this folder, use File.DirInternal & "/Images" as the path to your files
 
Last edited:
Upvote 0

LucaMs

Expert
Licensed User
Longtime User
File.DirInternal returns the path to your application internal folder.
You can create a Images folder inside it. To do so, use:
B4X:
File.MakeDir(File.DirInternal, "Images")

To read/write to this folder, use File.DirInternal & "/Images" as the path to your files
Yes but I think he just wants to organize his project image files.

So he can create a new folder by right clicking in the Files Manager Tab and choosing "Add Group", name it MyImages, for example, drag & drop his files there and then access the files by code just using File.DirAssets.
 
Upvote 0
Top