/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/ContactReader.java

  • Committer: edam
  • Date: 2011-06-11 08:22:04 UTC
  • Revision ID: edam@waxworlds.org-20110611082204-u2v1ri3a8iayq9b4
- added ContactReader interface
- added ContactsContactReader class to read old-style android.Contacts data
- updated FileChooser from import contacts app
- updated TODO
- added Doit activity
- added Exporter
- added VcardExporter that writes vCards

Show diffs side-by-side

added added

removed removed

1
1
/*
2
 
 * ContactAccessor.java
 
2
 * ContactReader.java
3
3
 *
4
 
 * Copyright (C) 2011 Tim Marston <edam@waxworlds.org>
 
4
 * Copyright (C) 2010 Tim Marston <edam@waxworlds.org>
5
5
 *
6
6
 * This file is part of the Export Contacts program (hereafter referred
7
7
 * to as "this program"). For more information, see
23
23
 
24
24
package org.waxworlds.edam.exportcontacts;
25
25
 
26
 
public interface ContactAccessor
 
26
public interface ContactReader
27
27
{
28
28
        /**
29
 
         * Return the number of contacts that exist and that will be exported.
 
29
         * Return the number of contacts that exist and that will be imported.
30
30
         * @return number of existing contacts
31
31
         */
32
32
        public int getNumContacts();