/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/ConfigureVCF.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

46
46
                setContentView( R.layout.configure_vcf );
47
47
                super.onCreate( savedInstanceState );
48
48
 
49
 
//              setNextActivity( Doit.class );
 
49
                setNextActivity( Doit.class );
50
50
 
51
51
                // create file chooser
52
52
                _file_chooser = new FileChooser( this );
53
53
                _file_chooser.setMode( FileChooser.MODE_DIR );
54
 
                String[] extensions = { "vcf" };
55
 
                _file_chooser.setExtensions( extensions );
 
54
//              String[] extensions = { "vcf" };
 
55
//              _file_chooser.setExtensions( extensions );
56
56
                _file_chooser.setDismissListener(
57
57
                        new DialogInterface.OnDismissListener() {
58
58
                                public void onDismiss( DialogInterface dialog )