Pick folder intent - null Uri returned
Posted: Sat Feb 26, 2011 9:43 am
Hi,
I'm integrating AndExplorer in my application, using the pick folder intent.
1) Calling AndExplorer is successful and starts in the given initial directory.
2) I select some other directory (p.e., pressing [Go to up folder]).
3) Press 'Ok'.
The data.getData() in the intent returned via onActivityResult() (RESULT_OK) is always null.
AndExplorer call:
Intent intent = new Intent();
intent.setAction(Intent.ACTION_PICK);
intent.setDataAndType(Uri.fromFile(....), "vnd.android.cursor.dir/lysesoft.andexplorer.directory");
intent.putExtra("explorer_title", "...");
...
intent.startActivityForResult(intent, 1);
Android version: 2.2
AndExplorer version: 1.7
Kind regards,
Juanjo
I'm integrating AndExplorer in my application, using the pick folder intent.
1) Calling AndExplorer is successful and starts in the given initial directory.
2) I select some other directory (p.e., pressing [Go to up folder]).
3) Press 'Ok'.
The data.getData() in the intent returned via onActivityResult() (RESULT_OK) is always null.
AndExplorer call:
Intent intent = new Intent();
intent.setAction(Intent.ACTION_PICK);
intent.setDataAndType(Uri.fromFile(....), "vnd.android.cursor.dir/lysesoft.andexplorer.directory");
intent.putExtra("explorer_title", "...");
...
intent.startActivityForResult(intent, 1);
Android version: 2.2
AndExplorer version: 1.7
Kind regards,
Juanjo