title: I can´t obtain actual path android file
body: <p>I am trying to get the full path of a file with i pick up with android browser. Therefore, i use the following code:</p>
  
  <pre><code>private void showFileChooser() {
          Intent intent = new Intent(Intent.ACTION_GET_CONTENT);
          intent.setType("*/*");
          intent.addCategory(Intent.CATEGORY_OPENABLE);
  
          try {
              startActivityForResult(
                      Intent.createChooser(intent, "Select a file"), FILE_SELECT_CODE);
          } catch (android.content.ActivityNotFoundException ex) {
              Toast.makeText(this, "You don't have a browser installed", Toast.LENGTH_SHORT).show();
          }
      }
      @Override
      protected void onActivityResult(int requestCode, int resultCode, Intent data) {
          if(requestCode==FILE_SELECT_CODE &amp;&amp; resultCode==Activity.RESULT_OK) {
  
                      // Get the Uri of the selected file
                      Uri uri = data.getData();
                      Log.d(TAG, "URI del archivo a enviar: " + uri.toString());
                      // Get the path
                      final String path=Environment.getExternalStorageDirectory().toString()+uri.getPath();
                      Log.d(TAG, "Path del archivo a enviar: " +path);
                      File archivoPruebaParaSaberSiExiste = new File(path);
  
  
                      if(archivoPruebaParaSaberSiExiste.exists()) {
                          Log.d(TAG,"File exists");
                      else{
                          Log.d(TAG,"File does not exist");
                      }
  
          }
          super.onActivityResult(requestCode, resultCode, data);
      }
  
  
   &lt;uses-permission android:name="android.permission.READ_PHONE_STATE" /&gt;
   &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/&gt;
   &lt;uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/&gt;
  </code></pre>
  
  <p>However, i don´t get the file path:</p>
  
  <pre><code>The file path which i get is: 
        /storage/emulated/0/data/external/images/media/1949
  
  The actual path is: 
       /storage/emulated/0/DCIM/Camera/20165481_133918.jpg
  </code></pre>
  
  <p>I don´t know what is happening. </p>