title: How to get the downloaded file path using the download manager
body: <p>I am able to download a video from the server using the download manager. However when I log the path using below code.</p>
  
  <pre><code> String path = Environment.getExternalStoragePublicDirectory(directory).getAbsolutePath() + subpath;
   Log.e("PATH", path);
  </code></pre>
  
  <p>I get </p>
  
  <blockquote>
    <p>12-15 13:29:36.787 22807-22807/com.ezyagric.extension.android E/PATH: /storage/sdcard0/EZYAGRIC/Soil Testing.mp4.</p>
  </blockquote>
  
  <p>Now this is different from the path on the phone which is </p>
  
  <blockquote>
    <p>/storage/sdcard0/Android/data/com.ezyagric.extension.android/files/EZYAGRIC/Crop
     Insurance.mp4</p>
  </blockquote>
  
  <p>What brings that difference and how can obtain the path in the phone the way it is? </p>