title: Having issue with InputStream
body: <pre><code>@Override
  protected void onActivityResult(int requestCode, int resultCode, Intent data) {
      super.onActivityResult(requestCode, resultCode, data);
      try {
  
  
          // When an file is picked
          if (requestCode == 3 &amp;&amp; resultCode == RESULT_OK &amp;&amp; null != data) {
  
              Uri uri = data.getData();
  
              InputStream is = getContentResolver().openInputStream(uri);
          }
          else {
              Toast.makeText(this, &quot;You haven't picked any file&quot;, Toast.LENGTH_LONG).show();
          }
      } catch (Exception e) {
          Toast.makeText(this, &quot;Something went wrong&quot;, Toast.LENGTH_LONG).show();
          Log.d(&quot;EXCEPTION_ERROR&quot;,e.toString());
          e.printStackTrace();
      }
  
  }
  </code></pre>
  <p>I tried it. I added more source code. But, <code>inputStream</code> is giving error.</p>
  <blockquote>
  <p>EXCEPTION_ERROR: java.io.FileNotFoundException: No such file or directory</p>
  <p>System.err: java.io.FileNotFoundException: No such file or directory</p>
  <p>System.err:     at android.database.DatabaseUtils.readExceptionWithFileNotFoundExceptionFromParcel(DatabaseUtils.java:151)</p>
  </blockquote>
  <p>Uri :</p>
  <blockquote>
  <p>content://com.android.providers.downloads.documents/document/3356</p>
  <p>content://com.android.providers.downloads.documents/document/3331</p>
  </blockquote>