Android Question Unique Identifier for pictures

virpalacios

Active Member
Licensed User
Longtime User
Hi I am looking to a method to generate a unique identifier for pictures that will be stored in a server directory. There will be several devices taking pictures, (androids and iphones),
so every picture has to be named with a unique name. I saw Erel's random id routine, I wonder if it will work with B4I, also in theory I can merge device id + random key to make it unique on the server.

Thanks in Advance
 

emexes

Expert
Licensed User
If the devices have unique IDs (SIM numbers?) you could use those plus the date-time of the images. If there is the possibility of images being submitted more than once, you could include a checksum too, to help quickly identify likely-identical images.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…