[maemo-developers] Accessing addressbook with libebook

From: Ross Burton ross at burtonini.com
Date: Thu Jan 24 11:23:02 EET 2008
On Wed, 2008-01-23 at 21:36 +0100, David Hautbois wrote:
> I try to access to the addressbook using libebook.
> It does not work.
> 
> Could someone help me to understand why this example :
> http://wiki.mutt.org/?QueryCommand/EvolutionSearch
> works on debian lenny
> but does not work on maemo
> 
> I've tested many other sample code. All fail.
> The command e_book_new_system_addressbook seems to fail.

I presume you are talking about the second example, not the first one.
The first one won't work because it opens the wrong file on Maemo.

The second one should work, it would be useful to pass a GError** to
e_book_new_system_addressbook (the NULL argument is an error pointer) to
find out what the failure is.  I'm guessing you are running it in a
terminal and not using run-standalone.sh:

$ run-standalone.sh ./ebooktest

Ross
-- 
Ross Burton                                 mail: ross at burtonini.com
                                          jabber: ross at burtonini.com
                                     www: http://www.burtonini.com./
 PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF




More information about the maemo-developers mailing list