title: How to get all video files from phone internal storage(Nexus 5) in android
body: <p>I want to get all video files from the internal memory of the device.</p>
  
  <p>I have tried the following ways without getting a result</p>
  
  <ol>
  <li><code>File file[] = Environment.getExternalStorageDirectory().listFiles();</code></li>
  <li><code>File file=  Environment.getDataDirectory();</code></li>
  <li><code>File file[] = Environment.getRootDirectory().listFiles();</code></li>
  <li><code>File file =  Environment.getExternalStoragePublicDirectory();</code></li>
  </ol>