Eme Fibonacci Well-Known Member Licensed User Longtime User Mar 25, 2017 #1 For some reason ExifData can only read the attributes if the file is in the external folder. I copy the file from gallery to the external folder and got attributes. My question is: This folder will always exist regardless of whether the device has an external memory card? Thank you.
For some reason ExifData can only read the attributes if the file is in the external folder. I copy the file from gallery to the external folder and got attributes. My question is: This folder will always exist regardless of whether the device has an external memory card? Thank you.
MarcoRome Expert Licensed User Longtime User Mar 25, 2017 #2 Eme Fibonacci said: For some reason ExifData can only read the attributes if the file is in the external folder. I copy the file from gallery to the external folder and got attributes. My question is: This folder will always exist regardless of whether the device has an external memory card? Thank you. Click to expand... File.DirRootExternal ?? Of course Upvote 0
Eme Fibonacci said: For some reason ExifData can only read the attributes if the file is in the external folder. I copy the file from gallery to the external folder and got attributes. My question is: This folder will always exist regardless of whether the device has an external memory card? Thank you. Click to expand... File.DirRootExternal ?? Of course
Erel B4X founder Staff member Licensed User Longtime User Mar 26, 2017 #3 MarcoRome said: File.DirRootExternal ?? Of course Click to expand... This is not 100% correct. You should check whether File.ExternalWritable is true before writing. Upvote 0
MarcoRome said: File.DirRootExternal ?? Of course Click to expand... This is not 100% correct. You should check whether File.ExternalWritable is true before writing.
Eme Fibonacci Well-Known Member Licensed User Longtime User Mar 26, 2017 #4 So what is the safest way to do this? I need to copy an image from the gallery to an external folder to read the attributes with ExifData. EDIT: I think a better question would be: Which folder always exists and can I read the ExifData attributes? Last edited: Mar 26, 2017 Upvote 0
So what is the safest way to do this? I need to copy an image from the gallery to an external folder to read the attributes with ExifData. EDIT: I think a better question would be: Which folder always exists and can I read the ExifData attributes?
Erel B4X founder Staff member Licensed User Longtime User Mar 26, 2017 #5 Which error do you get when you try to read from File.DirInternal? Upvote 0