/android/import-contacts

To get this branch, use:
bzr branch http://bzr.ed.am/android/import-contacts

« back to all changes in this revision

Viewing changes to TODO

  • Committer: edam
  • Date: 2009-01-11 12:58:54 UTC
  • Revision ID: edam@waxworlds.org-20090111125854-u8ofzso4jatk12me
- added "all done" message
- rewrote Importer.finish() to make the exit process more consistent
- moved Doit's message definitions to Doit
- ensure the importer is destroyed in Doit.onPause()
- only show the toaster popup if a) there is an importer to abort, and b) the abort actually did something (i.e., it's not already aborted)
- bugfix: added some checks for abortion to the Importer after wait()ing after a dialog. Importer.wake() now alsy does a notify() to break out of dialog waits.
- also, made Importer.checkAbort() protected, so it can be checked from specific importers as desired

Show diffs side-by-side

added added

removed removed

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