/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-02-02 07:07:52 UTC
  • Revision ID: edam@waxworlds.org-20090202070752-2lp8igdsdjyu9fic
- bugfix: add contacts to the "my contacts" group didn't actually work on a real device. So we're doing it a different way.
- updated todo list

Show diffs side-by-side

added added

removed removed

41
41
 
42
42
        /** Called when the activity is first created. */
43
43
        @Override
44
 
        public void onCreate( Bundle savedInstanceState )
45
 
        {
 
44
    public void onCreate( Bundle savedInstanceState )
 
45
    {
46
46
                super.onCreate(savedInstanceState);
47
47
 
48
48
                _stateStack = new Stack< Integer >();
59
59
                        int lastState = _stateStack.pop();
60
60
                        startState( lastState );
61
61
                }
62
 
        }
 
62
    }
63
63
 
64
64
        @Override
65
65
        protected void onSaveInstanceState(Bundle outState) {
123
123
                if( _stateStack.size() > 1 ) i.putExtra( "backstate", true );
124
124
                startActivityForResult( i, 0 );
125
125
        }
126
 
}
 
126
}
 
 
'\\ No newline at end of file'