/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 15:33:01 UTC
  • Revision ID: edam@waxworlds.org-20110530153301-oor6ci9b3hf9clul
- refactored some code to do with how contacts are imported
- Vcards (and ContactData) instances now generate a CacheIdentifier when they are finalised so that ContactData instances that do not have enough information to identify them can be discovered then
- importContact() now calls the private method checkForDuplicate(), renamed from isImportRequired(), and return if it is not
- importContact() and checkForDuplicate() now use the ContactData's generated CacheIdentifier

Show diffs side-by-side

added added

removed removed

1
 
FOR NEXT RELEASE
2
 
 
3
1
* import a crap-load of contacts before release!
4
2
* 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
3
* create a back-end object to read/write to android. This can be overridden to
10
4
        use the new ContractsContacts API.
11
5
* add warnings when email addresses, phone numbers, etc, fail sanitisation (and
12
 
        are ignored) during the import (see TODO comments in the code)
 
6
        are ignored) during the import
13
7
* add base64 decoding to support (even if to ignore) vcards with image data
14
8
* possible bug: when displaying "aborting import" toaster, make sure the back
15
9
        button is enabled and the abort button is hidden (as if abort were pressed)
16
10
        since this can happen if, say, the alarm goes off.
17
11
* add facility to be asked whether to import all contacts, not just those that
18
12
        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
 
13
* in the long term, we need to save/restore state from doit/importer