/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/FileChooser.java

  • Committer: edam
  • Date: 2010-12-16 00:16:01 UTC
  • Revision ID: edam@waxworlds.org-20101216001601-tb8g7tsw55v9qe18
- determine path to SD card by querying android
- added error when no SD card can be found

Show diffs side-by-side

added added

removed removed

337
337
                }
338
338
 
339
339
                // special paths
340
 
                if( sdcard_path != null && path.equals( sdcard_path ) )
 
340
                if( path.equals( sdcard_path ) )
341
341
                        return R.drawable.sdcard;
342
342
 
343
343
                // default