Hi,<br>I don't know if a D-Bus API exists or it it is public, but you could use the C API as Fred told before.<br>In case you are using Qt, you have to use QLibrary [1] as we have done with GConf [2].<br><br>BR,<br>Antonio<br>
<br>[1] <a href="http://doc.qtsoftware.com/4.5/qlibrary.html">http://doc.qtsoftware.com/4.5/qlibrary.html</a><br>[2] <a href="http://qt.gitorious.org/+qt-maemo-developers/qt/qt-maemo/trees/maemo-internet-connectivity/src/network/maemo">http://qt.gitorious.org/+qt-maemo-developers/qt/qt-maemo/trees/maemo-internet-connectivity/src/network/maemo</a><br>
<br><div class="gmail_quote">On Fri, Jul 3, 2009 at 3:04 PM, Fred <span dir="ltr"><<a href="mailto:Fred@lefevere-laoide.net">Fred@lefevere-laoide.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
Contact-infos does access contact but not via DBus (via libebook API if<br>
I remember correctly) !<br>
It then offers a DBus interface to allow users to choose the contact<br>
they want via a dialog.<br>
<br>
ContactInfos can access built-in contact or GPE contacts ...<br>
<br>
Fred<br>
<br>
<br>
Tatu Lahtela a écrit :<br>
<div><div></div><div class="h5">> Hi,<br>
> Are there any examples on how I can access the addressbook via d-bus? By<br>
> looking at the dbus-monitor logs I seet that interfaces such as<br>
> org.gnome.evolution.dataserver.AddressBook are used, but I've had no<br>
> luck getting anything out of them.<br>
><br>
> If anyone has done it, a short example with e.g. dbus-send or code would<br>
> be really appreciated on how I can e.g. get a list of my contacts.<br>
><br>
> cheers,<br>
> --<br>
</div></div>> Tatu Lahtela <<a href="mailto:lahtela@iki.fi">lahtela@iki.fi</a> <mailto:<a href="mailto:lahtela@iki.fi">lahtela@iki.fi</a>>><br>
><br>
><br>
> ------------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> maemo-developers mailing list<br>
> <a href="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org</a><br>
> <a href="https://lists.maemo.org/mailman/listinfo/maemo-developers" target="_blank">https://lists.maemo.org/mailman/listinfo/maemo-developers</a><br>
<br>
_______________________________________________<br>
maemo-developers mailing list<br>
<a href="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org</a><br>
<a href="https://lists.maemo.org/mailman/listinfo/maemo-developers" target="_blank">https://lists.maemo.org/mailman/listinfo/maemo-developers</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><br><a href="http://www.brainyquote.com/quotes/authors/r/rita_rudner.html" target="_blank">Rita Rudner</a> - "I was a vegetarian until I started leaning toward the sunlight."