Accessing the address book programmatically?
Hi,
I would like to integrate the user's address book (or more specifically the contact details of the current user) into my own (c++) desktop (Windows/MacOS/Linux) application for the user's convenience.
Is this possible at all? If so, where can I start reading to find out how to do this?
(If it's not possible through an API, is the address book file format documented somewhere, so I can read it directly?)
I don't need write access. I just need to be able to read the user's contacts.
Cheers, James
Toate răspunsurile (2)
"(or more specifically the contact details of the current user)"
Sorry, that didn't make much sense. I meant the contact details of the current user's contacts as well as the email address(es) of the current user.
It is as SQL database, so I would expect there are ways to do that. Here is an example: https://www.sqlite.org/quickstart.html