/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: 2011-05-30 19:20:17 UTC
  • Revision ID: edam@waxworlds.org-20110530192017-5c09k4kgpov02gja
- added checks for Doit.this == null when handling dialog buttons (I managed to abort an import as a duplicate contacts dialog was shown, but can't reproduce it now)
- added line no.s to vcard parsing errors
- update progress bar after a contact is imported, not before
- fixed bug introduced in last commit where a contacts were imported after finaliseVcard()ing failed
- don't show unknown encoding errors for vcard fields that we don't care about (which ignores base64 encoded photos, for example)

Show diffs side-by-side

added added

removed removed

 
1
FOR NEXT RELEASE
 
2
 
 
3
* import a crap-load of contacts before release!
 
4
* change some public final static ints, that aren't really consts, in to enums
 
5
* does duplicate contact dialog displays UTF-8 name in ASCII?
 
6
 
 
7
FUTURE
 
8
 
 
9
* create a back-end object to read/write to android. This can be overridden to
 
10
        use the new ContractsContacts API.
 
11
* add warnings when email addresses, phone numbers, etc, fail sanitisation (and
 
12
        are ignored) during the import (see TODO comments in the code)
1
13
* 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
14
* possible bug: when displaying "aborting import" toaster, make sure the back
14
15
        button is enabled and the abort button is hidden (as if abort were pressed)
15
16
        since this can happen if, say, the alarm goes off.
16
 
* in the long term, we need to save/restore state from doit/importer
 
17
* add facility to be asked whether to import all contacts, not just those that
 
18
        are duplicates.
 
19
* in the long term, we probably need to save/restore state from doit/importer
 
20
        and stop preventing screen rotation on some activities