title: How to choose a file in Android?
body: <p>I use the code below to do the operation.</p>
  
  <p>Intent action = new Intent(Intent.ACTION_GET_CONTENT);</p>
  
  <pre><code>    action = action.setType("*/*").addCategory(Intent.CATEGORY_OPENABLE);
      startActivityForResult(action, addEditInstance.INTENT_ATTACH_FILE);
  </code></pre>
  
  <p>But I get options to choose media files where i get result as </p>
  
  <p>/external/images/media/92</p>
  
  <p>but I am looking for only file names. Is there a way to get the actual file path from this uri?</p>