/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 src/org/waxworlds/importcontacts/ImportContacts.java

  • Committer: edam
  • Date: 2009-01-13 06:37:52 UTC
  • Revision ID: edam@waxworlds.org-20090113063752-kjbyjqksaez1g7uv
updated todo list

Show diffs side-by-side

added added

removed removed

32
32
public class ImportContacts extends Activity
33
33
{
34
34
        public static final int STATE_NONE = 0;
35
 
        public static final int STATE_INTRO = 1;
36
 
        public static final int STATE_IMPORT_VCF = 3;
37
 
        public static final int STATE_MERGE = 4;
38
 
        public static final int STATE_DOIT = 5;
 
35
        public static final int STATE_IMPORT_VCF = 1;
 
36
        public static final int STATE_MERGE = 2;
 
37
        public static final int STATE_DOIT = 3;
39
38
 
40
39
        private Stack< Integer > _stateStack;
41
40
 
47
46
 
48
47
                _stateStack = new Stack< Integer >();
49
48
 
50
 
                startState( STATE_INTRO );
 
49
                startState( STATE_IMPORT_VCF );
51
50
    }
52
51
 
53
52
        @Override
91
90
                // figure out the class
92
91
                Class cls = null;
93
92
                switch( newState ) {
94
 
                case STATE_INTRO: cls = Intro.class; break;
95
93
                case STATE_IMPORT_VCF: cls = ImportVCF.class; break;
96
94
                case STATE_MERGE: cls = Merge.class; break;
97
95
                case STATE_DOIT: cls = Doit.class; break;