maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   N9 contacts and sync... what a mess! (https://talk.maemo.org/showthread.php?t=82800)

Endymion 2012-04-18 10:58

Re: N9 contacts and sync... what a mess!
 
At this i point, i think it would be really nice an "extended" contact properties editor, including also the sync server... with the option of "detach" all contacts from sync, or assign all contacts to a certain server.

w00t 2012-04-18 11:12

Re: N9 contacts and sync... what a mess!
 
Quote:

Originally Posted by Endymion (Post 1193771)
At this i point, i think it would be really nice an "extended" contact properties editor, including also the sync server... with the option of "detach" all contacts from sync, or assign all contacts to a certain server.

I think it's fairly safe to say that Nokia won't be doing this at this point. It would probably be possible to do as a standalone application with some effort, I am happy to try answer questions if someone wants to work on that.

Endymion 2012-04-24 11:41

Re: N9 contacts and sync... what a mess!
 
Quote:

Originally Posted by w00t (Post 1193775)
I think it's fairly safe to say that Nokia won't be doing this at this point. It would probably be possible to do as a standalone application with some effort, I am happy to try answer questions if someone wants to work on that.

Ok, so... how can i access the LINKED informations tu a given contact, i.e. the sync server?
Can you give me some code examples?

I know this is a BIG question... :D

w00t 2012-04-24 11:52

Re: N9 contacts and sync... what a mess!
 
Quote:

Originally Posted by Endymion (Post 1196934)
Ok, so... how can i access the LINKED informations tu a given contact, i.e. the sync server?
Can you give me some code examples?

I know this is a BIG question... :D

Contact information is accessible using the QtContacts API. A contact in your addressbook is made up of one (or more) QContact instances aggregated together in the UI (yes, sorry, not fantastic architecture, but we've been locked into it for an awfully long time).

QContact instances contain QContactDetail instances which are the actual information about a contact, e.g. a QContactName detail contains their first/last/etc names, QContactPhoneNumber contains information about one phone number for the contact. You get the idea.

To find where a contact is synced to, you want the QContactSyncTarget detail (http://doc.qt.nokia.com/qtmobility/q...ynctarget.html)


All times are GMT. The time now is 02:11.

vBulletin® Version 3.8.8