/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/edam/importcontacts/WizardActivity.java

  • Committer: edam
  • Date: 2010-12-12 11:25:00 UTC
  • Revision ID: edam@waxworlds.org-20101212112500-ml96qi57t0epia2s
- import phone numbers even when they have no specified type (default to mobile)
- allow all keypad chars in a phone number so that network commands can be prefixed to them

Show diffs side-by-side

added added

removed removed

26
26
import android.app.Activity;
27
27
import android.content.Intent;
28
28
import android.content.SharedPreferences;
29
 
import android.content.res.Configuration;
30
29
import android.os.Bundle;
31
30
import android.view.View;
32
31
import android.widget.Button;
63
62
        }
64
63
 
65
64
        @Override
66
 
        protected void onActivityResult( int requestCode, int resultCode,
67
 
                Intent data )
 
65
        protected void  onActivityResult( int requestCode, int resultCode, Intent data )
68
66
        {
69
67
                if( resultCode == RESULT_OK ) {
70
68
                        setResult( RESULT_OK );
102
100
        {
103
101
                return super.getSharedPreferences( "ImportContacts", 0 );
104
102
        }
105
 
 
106
 
        @Override
107
 
        public void onConfigurationChanged( Configuration newConfig ) {
108
 
                super.onConfigurationChanged( newConfig );
109
 
        }
110
103
}