-
QContacts Unique ID
Hello,
I want to store the phone contacts in a local database with additional fields specific to my app added. I am trying to fetch the unique ID associated with individual contacts in supported format, to be stored in the DB so that I can directly map the phone contacts with corresponding contact in my DB. QContactId can be used only internally. Is there a way to fetch this unique identifier as a string or int?
Thanks!
-
Re: QContacts Unique ID
How have you tried getting teh cocntact ID ? and what problems with it are you having ?
-
Re: QContacts Unique ID
There is this QContactId which stores the unique id for each contact, but I want a means to store this id in my DB in some string or integer format. Didn't find any API in this QContactId class which serves my purpose, so wanted to know if there are any alternate ways of getting it!
-
Re: QContacts Unique ID
You could check the Docs, at least for me it appears that there is either URL or QContactLocalId stored for each QContactId. For local Contact DB I would assume its the QContactLocalId, so you could actually try using it.