Select folder dialog on android?

you can use this library to do the same: https://github.com/passy/Android-DirectoryChooser


public void performFileSearch() {
   Intent intent = new Intent(Intent.ACTION_OPEN_DOCUMENT_TREE);
   startActivityForResult(intent, READ_REQUEST_CODE);
}

Or If you using samsung phone, You can call Intent.

//Samsung Device
    Intent intent = new Intent("com.sec.android.app.myfiles.PICK_DATA");
    intent.putExtra("CONTENT_TYPE", "*/*");
    intent.addCategory(Intent.CATEGORY_DEFAULT);

providers/document-provider

This link will be help for you