Thread
:
[Announce] Horizontal-Call > Call people in your contact list without HW keyboard, easily and fast.
View Single Post
vrwarp
2010-07-21 , 08:37
Posts: 5 | Thanked: 26 times | Joined on Jul 2010
#
121
@eitama
Also another bit that might be useful is that while getting the entire contact list is slow (20 seconds for 250 contacts for me), getting a single contact is almost instantaneous. So one optimization I made was to store a cache of all the names + id and I query the contact manager for more information when the user selects the id. I also saved the cache in the qsettings and compressed it too
.
I haven't looked at the latest horizontal call in a while, but if you wanted to get a thumbnail of the user, you'll have to do a BGR to RGB conversion before displaying it (yet another qtmobility bug). A related bug to that is that all thumbnails are served at 64x64. I have a bit of code that converts it back to RGB and displays a scaled version of it (~90x90). Scaling it isn't so bad because the n900 has a ridiculously high resolution
. If you find a way to get a better thumbnail of the user, do let me know how
.
Quote & Reply
|
vrwarp
View Public Profile
Send a private message to vrwarp
Find all posts by vrwarp