LucaMs Expert Licensed User Longtime User Dec 1, 2023 #1 Do not remove empty groups automatically from Modules - Files Manager tabs. Last edited: Dec 2, 2023
aeric Expert Licensed User Longtime User Dec 1, 2023 #2 I thought assets folder does not allow any subfolder. We can add new subfolders with code when the app runs.
I thought assets folder does not allow any subfolder. We can add new subfolders with code when the app runs.
LucaMs Expert Licensed User Longtime User Dec 1, 2023 #3 aeric said: I thought assets folder does not allow any subfolder. We can add new subfolders with code when the app runs. Click to expand... Not when the app is running, you can create subfolders in the IDE "manually". For example, in the Files Manager folder I have: In my custom project template I have that structure but I'm forced to put fake files in it otherwise the IDE would remove the subfolders.
aeric said: I thought assets folder does not allow any subfolder. We can add new subfolders with code when the app runs. Click to expand... Not when the app is running, you can create subfolders in the IDE "manually". For example, in the Files Manager folder I have: In my custom project template I have that structure but I'm forced to put fake files in it otherwise the IDE would remove the subfolders.
aeric Expert Licensed User Longtime User Dec 1, 2023 #4 Is the structure important during runtime? Or you can copy the files to DirInternal to have the files in different subfolders.
Is the structure important during runtime? Or you can copy the files to DirInternal to have the files in different subfolders.
LucaMs Expert Licensed User Longtime User Dec 1, 2023 #5 aeric said: Is the structure important during runtime? Or you can copy the files to DirInternal to have the files in different subfolders. Click to expand... You create the subfolders and see them in the IDE; in the code you access them (read only) using File.DirAssets, all of them, without distinction by subfolders. In DirInternal, which has nothing to do with this, you can create as many subfolders as you want.
aeric said: Is the structure important during runtime? Or you can copy the files to DirInternal to have the files in different subfolders. Click to expand... You create the subfolders and see them in the IDE; in the code you access them (read only) using File.DirAssets, all of them, without distinction by subfolders. In DirInternal, which has nothing to do with this, you can create as many subfolders as you want.
aeric Expert Licensed User Longtime User Dec 1, 2023 #6 I know but the "Folder" in Files Manager is not actual folder. It is for grouping purpose. Erel has explained this when the feature was added.
I know but the "Folder" in Files Manager is not actual folder. It is for grouping purpose. Erel has explained this when the feature was added.
LucaMs Expert Licensed User Longtime User Dec 1, 2023 #7 aeric said: I know but the "Folder" in Files Manager is not actual folder. It is for grouping purpose. Erel has explained this when the feature was added. Click to expand... Yes. So I didn't understand your question ?
aeric said: I know but the "Folder" in Files Manager is not actual folder. It is for grouping purpose. Erel has explained this when the feature was added. Click to expand... Yes. So I didn't understand your question ?
aeric Expert Licensed User Longtime User Dec 1, 2023 #8 I have no question. I just think that no point to keep empty folder for assets. I only agree if we have empty folder in DirInternal. Usually I have empty folder such as "Uploads" or "Temp" in B4J project inside Objects (DirApp) folder. In this case, it makes more sense.
I have no question. I just think that no point to keep empty folder for assets. I only agree if we have empty folder in DirInternal. Usually I have empty folder such as "Uploads" or "Temp" in B4J project inside Objects (DirApp) folder. In this case, it makes more sense.
LucaMs Expert Licensed User Longtime User Dec 1, 2023 #9 aeric said: I just think that no point to keep empty folder for assets. Click to expand... https://www.b4x.com/android/forum/t...mpty-folders-automatically.157734/post-968305
aeric said: I just think that no point to keep empty folder for assets. Click to expand... https://www.b4x.com/android/forum/t...mpty-folders-automatically.157734/post-968305
Sabotto Well-Known Member Licensed User Dec 2, 2023 #10 Let's say what the thread title should be "Do not remove empty groups automatically"
LucaMs Expert Licensed User Longtime User Dec 2, 2023 #11 Sabotto said: Let's say what the thread title should be "Do not remove empty groups automatically" Click to expand... Changed
Sabotto said: Let's say what the thread title should be "Do not remove empty groups automatically" Click to expand... Changed