C cbal03 Active Member Licensed User Longtime User Aug 24, 2022 #1 I have an app where i can take pictures. at the end of the day these pictures are sent to a server through an automated process. once on the server the timestamp changes. I need the original timestamp when the picture was taken. Is it possible to get this information from the file attributes? Do I need to open the file and get the info from the header? Thanks.
I have an app where i can take pictures. at the end of the day these pictures are sent to a server through an automated process. once on the server the timestamp changes. I need the original timestamp when the picture was taken. Is it possible to get this information from the file attributes? Do I need to open the file and get the info from the header? Thanks.
Erel B4X founder Staff member Licensed User Longtime User Aug 24, 2022 #2 Is this your app that saves the files? If the files are saved as jpegs then you can extract the time from the exif attributes (if it is set): https://www.b4x.com/android/forum/threads/android-support-exifinterface.74629/#content Upvote 0
Is this your app that saves the files? If the files are saved as jpegs then you can extract the time from the exif attributes (if it is set): https://www.b4x.com/android/forum/threads/android-support-exifinterface.74629/#content
C cbal03 Active Member Licensed User Longtime User Aug 31, 2022 #3 Thanks Erel! That looks promising. I'll give it a try. Upvote 0