1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-24 08:38:51 -05:00

Changed order of pick directory intents

This commit is contained in:
cketti 2011-05-05 02:36:15 +02:00 committed by Jesse Vincent
parent ebcc34e323
commit d05f6878d8

View File

@ -62,13 +62,13 @@ public class FileBrowserHelper {
*
*/
public boolean showFileBrowserActivity(Activity c, File startPath, int requestcode, FileBrowserFailOverCallback callback) {
// A string array that specifies the name of the intent to use, and
// the scheme to use with it when setting the data for the intent.
String[][] intentDetails =
{ { "org.openintents.action.PICK_DIRECTORY", "file://" }, // OI File Manager (maybe others)
{ "com.androidworkz.action.PICK_DIRECTORY", "file://" }, // SystemExplorer
{ "com.estrongs.action.PICK_DIRECTORY", "file://" }, // ES File Explorer
{ Intent.ACTION_PICK, "folder://" } }; // Blackmoon File Browser (maybe others)
// A string array that specifies the name of the intent to use, and
// the scheme to use with it when setting the data for the intent.
String[][] intentDetails =
{ { "org.openintents.action.PICK_DIRECTORY", "file://" }, // OI File Manager (maybe others)
{ "com.estrongs.action.PICK_DIRECTORY", "file://" }, // ES File Explorer
{ Intent.ACTION_PICK, "folder://" }, // Blackmoon File Browser (maybe others)
{ "com.androidworkz.action.PICK_DIRECTORY", "file://" }}; // SystemExplorer
boolean success = false;