I want to give user an interface so that he can mark folders and at the back-end I will get their path. But I don't have any idea how to do this. Currenty I am starting an intent to choose image from gallery then save its path. Here is my code.
Intent intent = new Intent();
intent.setType("image/*");
intent.setAction(Intent.ACTION_GET_CONTENT);
startActivityForResult(Intent.createChooser(intent, "Select an Image"),1);
But I want instead of image chooser it should display all the folders and user sould mark those, any ideas?