how to generate addressbook.db

View: New views
2 Messages — Rating Filter:   Alert me  

how to generate addressbook.db

by Saint yeyo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hello all,

I wrote a code, that I called two function 'e_book_backend_file_load_source' and 'e_book_backend_file_create_contact
then successful generate 'addressbook.db' and 'addressbook.db.summary' base on a exported vcard file,

then I tried copy the 2 generated addressbook.db into ~/.evolution/addressbook/local/system, then run evolution, click  contact, but it told me can't load the file, I guess there are some different between my generate one with standard evolution generate, so, could you teach me how to generate standard addressbook.db file? I feel I mostly close my target, I will very appreciate for your help.

thanks a lot

_______________________________________________
Evolution-hackers mailing list
Evolution-hackers@...
http://mail.gnome.org/mailman/listinfo/evolution-hackers

Re: how to generate addressbook.db

by Ross Burton :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 2009-08-25 at 08:27 +0800, Saint yeyo wrote:

> I wrote a code, that I called two function
> 'e_book_backend_file_load_source' and
> 'e_book_backend_file_create_contact
> then successful generate 'addressbook.db' and 'addressbook.db.summary'
> base on a exported vcard file,
>
> then I tried copy the 2 generated addressbook.db into
> ~/.evolution/addressbook/local/system, then run evolution, click
> contact, but it told me can't load the file, I guess there are some
> different between my generate one with standard evolution generate,
> so, could you teach me how to generate standard addressbook.db file? I
> feel I mostly close my target, I will very appreciate for your help.
Instead of using ebookbackendfile directly just use libebook.
EBookBackendFile is an implementation detail and shouldn't be used
directly.

Ross
--
Ross Burton                                 mail: ross@...
                                          jabber: ross@...
                                           www: http://burtonini.com


_______________________________________________
Evolution-hackers mailing list
Evolution-hackers@...
http://mail.gnome.org/mailman/listinfo/evolution-hackers

signature.asc (196 bytes) Download Attachment