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
 

DonManfred

Expert
Licensed User
Longtime User
let the serverside create a guid or any other unique String for the Images when you add it to the server.
 
Upvote 0

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
Top