I want to include some files with my .apk (on the files tab). These files are
structured in subdirectories (see examples below)
Q1 When these files are placed (automatically) in " File.DirAssets " will the subdirectory structure be retained, or will they all be placed in the root within File.DirAssets?
Q2 (if it is necessary to recreate the subdirectory structure) My filenames are prepended with the subdirectory. Can any kind person suggest the code necessary to copy the files and place them in subdirectories within File.DirDefaultExternal.
Example filenames and structure as follows.
rootone.jpg
/russ/ russtwo.jpg
/mall/ mallthree.jpg
Q3 I want to use a webview and include these images using the following links. Will they work?
structured in subdirectories (see examples below)
Q1 When these files are placed (automatically) in " File.DirAssets " will the subdirectory structure be retained, or will they all be placed in the root within File.DirAssets?
Q2 (if it is necessary to recreate the subdirectory structure) My filenames are prepended with the subdirectory. Can any kind person suggest the code necessary to copy the files and place them in subdirectories within File.DirDefaultExternal.
Example filenames and structure as follows.
rootone.jpg
/russ/ russtwo.jpg
/mall/ mallthree.jpg
Q3 I want to use a webview and include these images using the following links. Will they work?
B4X:
"file://" & File.DirAssets & "/russ/russtwo.jpg"
OR
"file://" & File.dirDefaultExternal & "/russ/russtwo.jpg"