/android/import-contacts

To get this branch, use:
bzr branch http://bzr.ed.am/android/import-contacts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
* add support for contacts with no N/FN name. In the absence of a name, the
	android contacts list displays the organisation, and in the absence of that,
	it displays the primary number. The solution seem to be to create a better
	contact cache (or perhaps a manager that is also responsible for writing the
	new contacts back to android)
	* it'll also need to import organisations and primary numbers
	* when reading vcf phone no.s, make sure they are imported in the same order
		they appear in in the vcf. The first one will be the primary number.
	* switch to the new contacts API
	* don't try to do anything clever with phone no.s that are name-less, but
		appear in existing contacts that (now) have a name
* possible bug: when displaying "aborting import" toaster, make sure the back
	button is enabled and the abort button is hidden (as if abort were pressed)
	since this can happen if, say, the alarm goes off.
* in the long term, we need to save/restore state from doit/importer