[maemo-developers] Accessing contacts via d-bus

From: Antonio Aloisio antonio.aloisio at gmail.com
Date: Fri Jul 3 15:42:23 EEST 2009
Hi,
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.
In case you are using Qt, you have to use QLibrary [1] as we have done with
GConf [2].

BR,
Antonio

[1] http://doc.qtsoftware.com/4.5/qlibrary.html
[2]
http://qt.gitorious.org/+qt-maemo-developers/qt/qt-maemo/trees/maemo-internet-connectivity/src/network/maemo

On Fri, Jul 3, 2009 at 3:04 PM, Fred <Fred at lefevere-laoide.net> wrote:

> Hi,
>
> Contact-infos does access contact but not via DBus (via libebook API if
> I remember correctly) !
> It then offers a DBus interface to allow users to choose the contact
> they want via a dialog.
>
> ContactInfos can access built-in contact or GPE contacts ...
>
> Fred
>
>
> Tatu Lahtela a écrit :
> > Hi,
> > Are there any examples on how I can access the addressbook via d-bus? By
> > looking at the dbus-monitor logs I seet that interfaces such as
> > org.gnome.evolution.dataserver.AddressBook are used, but I've had no
> > luck getting anything out of them.
> >
> > If anyone has done it, a short example with e.g. dbus-send or code would
> > be really appreciated on how I can e.g. get a list of my contacts.
> >
> > cheers,
> > --
> > Tatu Lahtela <lahtela at iki.fi <mailto:lahtela at iki.fi>>
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > maemo-developers mailing list
> > maemo-developers at maemo.org
> > https://lists.maemo.org/mailman/listinfo/maemo-developers
>
> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers
>



-- 

Rita Rudner <http://www.brainyquote.com/quotes/authors/r/rita_rudner.html>
- "I was a vegetarian until I started leaning toward the sunlight."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20090703/4602c899/attachment.htm 
More information about the maemo-developers mailing list