Importing contacts in FSO
"Marco Trevisan (Treviño)"
mail at 3v1n0.net
Thu Jul 31 16:30:38 CEST 2008
Andreas Bogk wrote:
> As far as I know, there's no import code yet. Be aware that currently
> FSO doesn't have a contacts database, it stores all the contacts on the
> SIM (which usually has limited capacity).
> The API for storing contacts is pretty simple at the moment. If you
> steal the dbus init code from zhone, adding contacts is done using:
> dbus_object.gsm_sim_iface.StoreEntry(reference, name, number)
> where reference indicates the slot on the SIM card in which to store the
> entry (between 0 and whatever the maximum for the card is).
Thanks for this, BTW during the past night I looked to the Zhone code
and I got that it was using only the sim, so I've "forced" it to use
only my phonebook hardcoding there my phonebook as shown in the "Fake
phonebook" code. What I'd like to do is merging these contacts with the
one saved on the SIM, so I'll be able to save new contacts (and view
Treviño's World - Life and Linux
More information about the community