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

  • Committer: Tim Marston
  • Date: 2014-03-01 18:07:36 UTC
  • Revision ID: tim@ed.am-20140301180736-ow8n7rsmbcboabgf
removed hard-coded path to sdcard

Show diffs side-by-side

added added

removed removed

195
195
        // set the path prefix
196
196
        public void setPathPrefix( String path_prefix )
197
197
        {
198
 
                // set to cleaned-up path, with trailaing '/' removed so that it can be
 
198
                // set to cleaned-up path, with trailing '/' removed so that it can be
199
199
                // trivially pre-pended to a cleaned-up path
200
200
                _path_prefix = cleanUpPath( path_prefix );
201
201
                _path_prefix = _path_prefix.substring( 0, _path_prefix.length() - 1 );
247
247
                }
248
248
        };
249
249
 
250
 
        private OnItemClickListener _fileChooserItemClickListener = new OnItemClickListener() {
251
 
                public void onItemClick( AdapterView< ? > adapterView, View view, int position, long id )
 
250
        private OnItemClickListener _fileChooserItemClickListener =
 
251
                        new OnItemClickListener() {
 
252
                public void onItemClick( AdapterView< ? > adapter_view, View view,
 
253
                        int position, long id )
252
254
                {
253
255
                        RowItem rowitem = _items.get( position );
254
256