/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. The contacts list displays the
2
 
        primary number instead of a name, but the existing contact detection will
3
 
        need to be fixed-up. See Importer::isImportRequired().
4
 
        * import organisations
5
 
        * have a second list (beside _contact) that maps organisation names to ids
6
 
                that is used when a contact has no other name
7
 
        * have a third list (beside _contact and the above list) that maps the
8
 
                primary phone no.s to ids, where the contact has no name or organisation
9
 
        * when reading vcf phone no.s, make sure they are imported in the same order
10
 
                they appear in in the vcf. The first on will become the primary when the
11
 
                contact has no name or organisation
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'