title: Can't delete File with the File class
body: <p>Im trying to delete a music file through my App but can't achieve that. Ive checked with </p>
  
  <pre><code>boolean exists = temp.exists();
  boolean isFile = temp.isFile();
  </code></pre>
  
  <p>if there true and yes they are. These methods returns me true.
  But when I come to the delete method :</p>
  
  <pre><code>boolean deleted = temp.delete();
  </code></pre>
  
  <p>It returns me False and the file is not getting deleted. There are no Exception throws just a false return to my deleted variable.</p>
  
  <p>Im also using these permissons :</p>
  
  <pre><code>&lt;uses-permission android:name="android.permission.MEDIA_CONTENT_CONTROL" /&gt;
  &lt;uses-permission android:name="android.permission.WAKE_LOCK" /&gt;
  &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.RECEIVE_BOOT_COMPLETED"/&gt;
  &lt;uses-permission android:name="android.permission.ACTION_HEADSET_PLUG"/&gt;
  </code></pre>
  
  <p>Someone got an Idea for a solution ?
  (Or other classes I can use ?)</p>
  
  <p>Edit:
  Thats my full code </p>
  
  <pre><code>File temp = new File(str_path);
  
  boolean exists = temp.exists();
  boolean isFile = temp.isFile();
  
  if (exists)) {
      boolean deleted = temp.delete();
      if (deleted) {
          Toast.makeText(context, "Successful deleted " + Title_Artist, Toast.LENGTH_SHORT).show();
              } else {
                  Toast.makeText(context, "Not able to delete file " + Title_Artist, Toast.LENGTH_SHORT).show();
              }
          }
  </code></pre>
  
  <p>(And I checked while debuging if the object has his path in it and it have it)</p>