How to Create a folderstructure in File.Dirxxxxxx?
I have a app that needs some things do be downloaded. JSON-Data, Images
How can i create a folderstructure in a place which i can reach when device is connected with usb from pc?
Which one is the best Place for it?
As of the resctrictions in KitKat (no access to external sdcards) i would prefer File.DirRootExternal. I know i can view this folder on my pc.
Can someone show me a small example how to Create a folderstructure like
?
And then i need to know how i can reference to this folders when i use for example
Like this?
Many thanx for any hint or code example. Have a nice Weekend
I have a app that needs some things do be downloaded. JSON-Data, Images
How can i create a folderstructure in a place which i can reach when device is connected with usb from pc?
Which one is the best Place for it?
B4X:
File.DirDefaultExternal
File.DirInternal
File.DirInternalCache
File.DirRootExternal
As of the resctrictions in KitKat (no access to external sdcards) i would prefer File.DirRootExternal. I know i can view this folder on my pc.
Can someone show me a small example how to Create a folderstructure like
/MyFolderName/Images/
/MyFolderName/json/
?
And then i need to know how i can reference to this folders when i use for example
B4X:
LoadBitmapSample(File.DirRootExternal,"icon.png",110dip,130dip)
Like this?
B4X:
LoadBitmapSample(File.DirRootExternal&"/MyFolderName/Images/","icon.png",110dip,130dip)
Many thanx for any hint or code example. Have a nice Weekend