PDA

View Full Version : Qt/Gtk Show contact information


Diph
2010-08-25, 16:13
I've been trying to add contact information dialog to Qt application. I used the code from here: http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Using_Generic_Platform_Components/Using_Address_Book_API#OssoABookTouchContactStarte r

When I open the contact's information dialog, only contact picture, Facebook Im and Nickname is shown. I want to see all information (phone number, sms etc.). Is this the correct behavior for the dialog?

nicolai
2010-08-25, 21:34
The contactstarter is a GTK Widget.
Aren't there Qt-Classes to hande this.
(QtMobility?)

Diph
2010-08-26, 06:07
There isn't any yet. http://wiki.forum.nokia.com/index.php/How_to_use_native_Maemo5_contacts_dialogs

The dialog is working but I can only see the items described in first post. If someone could try the code example (contact starter) and tell what information is shown in dialog. Thanks!

danielwilms
2010-08-26, 06:42
Hi,

There isn't any yet. http://wiki.forum.nokia.com/index.php/How_to_use_native_Maemo5_contacts_dialogs

The dialog is working but I can only see the items described in first post. If someone could try the code example (contact starter) and tell what information is shown in dialog. Thanks!

how are you running your program on device? Are you running it as "user", as root or from QtCreator?

Daniel

Diph
2010-08-26, 11:26
From QtCreator. Tried directly from the phone as user and now it works, but fields have names like addr_bd_cont_starter_chat etc. :)

Thanks!