[Gpe-list] GPE Contacts for Maemo - not shared?

Sean Mitchell sean at mitchwood.com
Thu Feb 7 16:05:34 CET 2008


Graham Cobb wrote:
> On Wednesday 06 February 2008 14:25:30 Sean Mitchell wrote:
>   
>> Ryan Pavlik wrote:
>>     
>>>> I recently installed a few GPE applications, including the contacts
>>>> app. Was surprised to find that when I add a contact in the GPE app,
>>>> it doesn't appear in the Maemo contacts app. Is GPE not using the
>>>> addressbook store functionality provided by Maemo?
>>>>         
>>> Correct, it uses its own database store, IIRC an internal sqlite
>>> database.  You might be able to put together some kind of sync using
>>> OpenSync, since Maemo contacts uses EDS ("evolution" essentially), if
>>> you were sufficiently motivated.
>>>       
>> I see. Is there any plan to have the Maemo port use Evolution Data
>> Services? I see from some comments on the Pimlico project that Nokia
>> doesn't provide the full EDS API in their libebook, so perhaps this
>> isn't feasible.
>>     
>
> No plans.  I agree it would be nice to have.  It would be easy to do if it is 
> possible to implement the libcontactsdb API on top of EDS.  But it probably 
> isn't.
>   
I had a quick look at contact-db.h in libcontactsdb, and at the api for 
libebook. It certainly seems do-able, although I'm not sure how cut-down 
Maemo's version of EDS is. Tough to find the actual Maemo docs for that 
library online, I'll have to set up a scratchbox environment and look at 
the header files. After five years in javaland, this might be worth 
playing with even if only for interest's sake.

> My thought is that the sync route is the way to go.  Opensync does run on the 
> tablet, although I am currently concentrating on testing using it to 
> synchronise GPE with mobile phones using syncml over bluetooth.
>   
Well, if opensync runs against libcontactsdb, and that is implemented 
against the system addressbook, it certainly seems to offer a nice 
common method of syncing Maemo contacts, rather than every app that uses 
contacts having to be synced separately.

Cheers,

Sean



More information about the Gpe-list mailing list