[maemo-developers] QtMobility Contacts

From: Antonio Aloisio antonio.aloisio at gmail.com
Date: Fri May 28 16:46:17 EEST 2010
Hi Felipe,

1. I am using the QContactDetailFilter to get a list of contacts on the n900
> and it takes "very" long compared to the standard address book and uses up
> all the cpu. I don't have too many contacts on my address book (about 300).
> It does not seem to matter the match criteria and/or the number of records
> that actually get filtered (it takes about the same time to get all records
> or just one). Any similar experiences? Any way to improve on it?

It's slow and it takes very long time because it convert every OSSO ABook
contact to
QContact then it applies the filters.
Native filtering is not complete so it's turned off.

2. Is it possible to get the contact presence status using QtMobility? By
> what I found you need to get the QContactOnlineAccountand then supposedly
> you would find the QContactPresence using linkedDetailUris on
> QContactOnlineAccount but linkedDetailUris does not return any strings. The
> contact manager does not seem to support the QContactGlobalPresence detail.
> Am I doing anything wrong? How can I find out if the user is online on
> skype
> for example?
>
 If the contact has not been added manually from the user, the
QContactPresence::FieldPresenceState field should contains the presence
status.
 The QContactGlobalPresence is not yet supported.

Regards,
Antonio

> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.maemo.org/pipermail/maemo-developers/attachments/20100528/ca288e0d/attachment.htm>
More information about the maemo-developers mailing list