/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/am/ed/exportcontacts/ContactsContactAccessor.java

  • Committer: edam
  • Date: 2012-12-19 15:51:48 UTC
  • Revision ID: tim@ed.am-20121219155148-9ut7lwtpi21aj54m
changed "homepage" to "webpage"

Show diffs side-by-side

added added

removed removed

27
27
import android.database.Cursor;
28
28
import android.provider.Contacts;
29
29
 
30
 
public class ContactsBackend implements ContactAccessor
 
30
public class ContactsContactAccessor implements ContactAccessor
31
31
{
32
32
        Activity _activity = null;
33
33
        Exporter _exporter = null;
34
34
        Cursor _cur = null;
35
35
 
36
 
        public ContactsBackend( Activity activity, Exporter exporter )
 
36
        public ContactsContactAccessor( Activity activity, Exporter exporter )
37
37
        {
38
38
                _activity = activity;
39
39
                _exporter = exporter;
65
65
                }
66
66
 
67
67
                // if there are no more contacts, abort
68
 
                if( _cur == null || !_cur.moveToNext() ) {
 
68
                if( !_cur.moveToNext() ) {
69
69
                        _cur = null;
70
70
                        return false;
71
71
                }