title: Android directory/folder picker with Select button
body: <p>I am new to android programming and trying to launch file explorer using SAF to select a folder/directory. Below code works fine when selecting a file, however, I want user to select a folder (and/or create a new folder). </p>
  
  <ol>
  <li>onActivityResult() doesn't get invoked on selecting a folder. Is it possible to trigger this event?</li>
  <li><p>How to get "select" and "new folder" buttons in the file explorer as shown in the attached image?</p>
  
  <p><code>Intent intent = new Intent(Intent.ACTION_GET_CONTENT);
  intent.setType("*/*");
  startActivityForResult(Intent.createChooser(intent, "Open folder"), PICK_REQUEST_CODE);</code></p></li>
  </ol>
  
  <p><a href="https://i.stack.imgur.com/08DFc.png" rel="nofollow noreferrer">File explorer screenshot</a></p>