After several tests, some results :
- How can I import contacts from .vcf file with long names + utf-8
encoding ?
You cannot.
There are some bugs in Qtopia addressbook :
- you cannot use vCard 3.0 files encoded in utf-8, multibyte UTF-8
characters will be mangled in Qtopia addressbook
- you cannot use vCard 2.1 files, utf-8 may be ok but import process
crashes for other reasons unknown to me.
The solution for me was to use a vCard 3.0 file re-encoded in iso8859-1
(:set fileencoding=iso8859-1 in vim), because everything I needed could
be covered by iso8859-1. I can't see a solution if you really need
utf-8, sorry.
- If I do a bad manipulation, how can I do a rollback ? (restore an
empty db, remove all junk entries without doing it one by one) ?
Close Qtopia, and use sqlite client to clean database yourself (a backup
before is always good):
sqlite3 /home/root/Applications/Qtopia/qtopia_db.sqlite
delete from contactcategories;
delete from contactaddresses;
delete from contactcustom;
delete from contactphonenumbers;
delete from contacts;
.quit
- How can I hide or disable contacts from sim card ? I only want to use
the one from my .vcf file (I manage them on my computer with kontact)
It seems that the first time you install Qtopia your SIM contacts are
loaded into Qtopia database (cf. upper). You can remove them
definitively from Qtopia database using sqlite client.
I tried to import a vcf file with something like :
DISPLAY=:0 LD_LIBRARY_PATH=/opt/qtmoko/lib /opt/qtmoko/bin/addressbook
/tmp/addressbook.vcf
Additional note : you need to do "source /opt/qtmoko/qpe.env" before, in
order to load good environment variables
Xavier.
_______________________________________________
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community