title: Android: Retrieve all image directories
body: <p>I am trying to find all directories on an Android device that contain images (internal as well as external storage).<br>
  Basically, I try to get all the directories that are listed in the native gallery application  </p>
  
  <p>So for example:</p>
  
  <ul>
  <li>All images</li>
  <li>Downloads </li>
  <li>My Favourites</li>
  <li>Whatsapp Pictures<br>
  ...</li>
  </ul>
  
  <p>How does one accomplish this? I think it is related to MediaStorage.Images.Media and so on, but the documentation is not very helpful there and a lot of google searches didn't help as well.</p>