title: android Get file name and path from Download directory
body: <p>I'm trying to copy a file from download folder to another directory.
  i used this code to get the file path</p>
  
  <pre><code> int PICKFILE_RESULT_CODE=1;
          Intent chooseFile = new Intent(Intent.ACTION_GET_CONTENT);
          chooseFile.setType("*/*");
          chooseFile = Intent.createChooser(chooseFile, "Choose a file");
          startActivityForResult( chooseFile,PICKFILE_RESULT_CODE);
  </code></pre>
  
  <p>I also used </p>
  
  <pre><code> @Override
  public void onActivityResult(int requestCode, int resultCode,
                               Intent returnIntent) {
      // If the selection didn't work
      if (resultCode != RESULT_OK) {
          // Exit without doing anything else
          return;
      } else {
          returnUri = returnIntent.getData();
          String src = returnUri.getPath();
          Toast.makeText(this, src, Toast.LENGTH_SHORT).show();
  
      }
  }
  </code></pre>
  
  <p>The code works fine if the file is outside the download directory, when in it the path which i get is in the form of number not the actual name of the file like:
  /document/2399
  this gives an error of file not found
  while the path from the root is:
  /storage/emulated/0/myDB.db3
  this works fine</p>
  
  <p>pls help me to fix this</p>