I'm going to build an online addressbook that synchronizes with the Mac OS X internal addressbook application. I use the famous Baikal (http://baikal.codr.fr/) Server to connect both applications (web app and mac os x app).
Now i want to add contacts online (contact files are based on a sqlite database), but i don't know how to create an UUID for Apples .vcf cards. They look like this:
BEGIN:VCARD
VERSION:3.0
PRODID:-//Apple Inc.//Address Book 6.1.2//EN
N:Test;Test;;;
FN:Test Test
REV:2012-07-09T20:19:39Z
UID:036f8e50-4b4d-49e1-82fb-089181227b15
END:VCARD
Does anyone know, how i can create an UUID for .vcf files?