title: Get filename and path from URI from mediastore
body: <p>I have an <code>onActivityResult</code> returning from an mediastore image selection which I can get a URI for an image using the following:</p>
  
  <pre><code>Uri selectedImage = data.getData();
  </code></pre>
  
  <p>Converting this to a string gives this:</p>
  
  <pre><code>content://media/external/images/media/47
  </code></pre>
  
  <p>Or to a path gives:</p>
  
  <pre><code>/external/images/media/47
  </code></pre>
  
  <p>However I can't seem to find a way to convert this into an absolute path, as I want to load the image into a bitmap without having to copy it somewhere. I know this can be done using the URI and content resolver, but this seems to break on rebooting of the phone, I guess <code>MediaStore</code> doesn't keep its numbering the same between reboots.</p>