Importing contacts in FSO

Andreas Bogk andreas at andreas.org
Thu Jul 31 16:41:36 CEST 2008


Marco Trevisan (Treviño) schrieb:
> 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 
> them) too...

Well, just execute both branches of the if...else in 
pyphone_contacts.prepare.  Make sure you use unique reference numbers 
for the stuff you add yourself, e.g. start numbering at 1000, not at 1 
as in the "Fake phonebook".

Andreas





More information about the community mailing list