/android/export-contacts

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

« back to all changes in this revision

Viewing changes to src/org/waxworlds/edam/exportcontacts/Exporter.java

  • Committer: edam
  • Date: 2011-06-11 11:34:38 UTC
  • Revision ID: edam@waxworlds.org-20110611113438-wu67n6akbyyln7kf
- fixed a couple of comment headers
- updated TODO
- fixed a bug where a "continue or abort" dialog always continued
- close cursors to prevent leaked resources
- fixed string that referred to Import Contacts app

Show diffs side-by-side

added added

removed removed

265
265
        protected void exportContacts() throws AbortExportException
266
266
        {
267
267
                // set up a contact reader
268
 
                ContactAccessor contact_reader =
269
 
                        new ContactsContactAccessor( _doit, this );
 
268
                ContactReader contact_reader = new ContactsContactReader( _doit, this );
270
269
                int num_contacts = contact_reader.getNumContacts();
271
270
                if( num_contacts == 0 )
272
271
                        showError( R.string.error_nothingtodo );