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
Pick folder intent - null Uri returnedRe: Pick folder intent - null Uri returnedDid you get the green checkbox when selecting a folder? You have to long press on folder name to select a folder. See screenshots at: http://www.lysesoft.com/products/andexp ... ntent.html
You will see working code sample and a full Android application (with source code) to test all Intents. Does it help? |