title: can't delete file from external storage in android programmatically
body: <p>I am trying to delete a file located at the path</p>
  
  <pre><code>/storage/714D-160A/Xender/image/Screenshot_commando.png
  </code></pre>
  
  <p>What I've done so far:</p>
  
  <pre><code>  try{
          String d_path = "/storage/714D-160A/Xender/image/Screenshot_commando.png";
          File file = new File(d_path);
          file.delete();
  
       }catch(Exception e){
  
          e.printStackTrace();
       }
  </code></pre>
  
  <p>and the file is still at its place(Not deleted :( ) </p>
  
  <p>Also I've given permission in Manifest file.</p>
  
  <pre><code>&lt;uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /&gt;
  &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt;
  &lt;uses-permission android:name="android.permission.WRITE_INTERNAL_STORAGE" /&gt;
  &lt;uses-permission android:name="android.permission.STORAGE" /&gt;
  </code></pre>