1
* freeze when Doit.onPause() is called when a dialog is up!
2
* add new contacts to caches, but only after all phone numbers are added (in
3
case we import a duplicate contact in the same run from a different file!)
4
* check abortion of worker thread works
5
* add checkAbort() calls to scanning and caching loops
6
* check onPause() abortion works (and you see a toaster message!)
b'\\ No newline at end of file'
1
* add base64 decoding to support (even if to ignore) vcards with image data
2
* add support for contacts with no N/FN name. In the absence of a name, the
3
android contacts list displays the organisation, and in the absence of that,
4
it displays the primary number. The solution seem to be to create a better
5
contact cache (or perhaps a manager that is also responsible for writing the
6
new contacts back to android)
7
* it'll also need to import organisations and primary numbers
8
* when reading vcf phone no.s, make sure they are imported in the same order
9
they appear in in the vcf. The first one will be the primary number.
10
* switch to the new contacts API
11
* don't try to do anything clever with phone no.s that are name-less, but
12
appear in existing contacts that (now) have a name
13
* possible bug: when displaying "aborting import" toaster, make sure the back
14
button is enabled and the abort button is hidden (as if abort were pressed)
15
since this can happen if, say, the alarm goes off.
16
* in the long term, we need to save/restore state from doit/importer