Import Sim Contacts

From Openmoko

Revision as of 05:07, 8 July 2008 by Coolcat (Talk | contribs)

Jump to: navigation, search

Here is a python script to import contacts from your SIM card into your neo.

There was some talk on the mailing lists about apps that delete or update entries from the SIM, etc. ALL this app does is create a new openmoko-contacts2 entry for each SIM contact entry. It doesn't remove or change any data in either the SIM or openmoko-contacts2.

Just copy it to your neo, install python-dbus, and then run:

 python addContact sim

On my neo, for some reason I can't connect to dbus when running from an ssh session (either USB or over Bluetooth). So you'll probably have to run the above command in the neo Terminal.

It will import all of the contacts on your SIM into openmoko-contacts. Unfortunately, my SIM doesn't seem to give a contact type, so I arbitrarily set the first phone number for a given name to Home, the next to Work, and any remaining to Cell numbers. I figure it's far easier to click the drop-down & correct them as necessary than to type all your contact info in manually on the neo keyboard, which was my option before I wrote this :-)

Personal tools

Here is a python script to import contacts from your SIM card into your neo.

There was some talk on the mailing lists about apps that delete or update entries from the SIM, etc. ALL this app does is create a new openmoko-contacts2 entry for each SIM contact entry. It doesn't remove or change any data in either the SIM or openmoko-contacts2.

Just copy it to your neo, install python-dbus, and then run:

 python addContact sim

On my neo, for some reason I can't connect to dbus when running from an ssh session (either USB or over Bluetooth). So you'll probably have to run the above command in the neo Terminal.

It will import all of the contacts on your SIM into openmoko-contacts. Unfortunately, my SIM doesn't seem to give a contact type, so I arbitrarily set the first phone number for a given name to Home, the next to Work, and any remaining to Cell numbers. I figure it's far easier to click the drop-down & correct them as necessary than to type all your contact info in manually on the neo keyboard, which was my option before I wrote this :-)