I'm not understanding why I am getting this exception. The directory itself seems to be there. I can play the music locally, but when I try to do this: FileInputStream inputStream = new FileInputStream(audioFile); I get this error: /document/2710: open failed: ENOENT (No such file or directory)
Here is my full Code:
 @Override
public void onActivityResult(int requestCode, int resultCode, Intent data) {
    super.onActivityResult(requestCode, resultCode, data);
    if (requestCode == 0 && resultCode == Activity.RESULT_OK){
        if ((data != null) && (data.getData() != null)) {
      Uri audioFileUri = data.getData();
      File file = new File(audioFileUri.getPath());
      //file.mkdirs();  <---- Making a directory does not work
      try {
             FileInputStream inputStream = new FileInputStream(audioFile); //This is where I get the error
           }
      catch{
             Log.i("TAG", e.getMessage());  
            }
     }
   }
 }
 
    