Convert Uri to String and String to Uri
<p>I'm developing some Application which allows select image from SD Card, save it into database and set this value for ImageView. I need to know way for converting uri to string and string to uri. Now I used getEncodedPath() method of Uri, but, for example, this code doesn't work:</p>

<pre><code>ImageView iv=(ImageView)findViewById(R.id.imageView1);
Uri uri=Uri.parse("/external/images/media/470939");
Log.e("uri1", uri.toString());
iv.setImageURI(uri);
</code></pre>

<p>Therefore I don't know how I can save Uri into database and create a new Uri from saved value. Please, help me to fix it. </p>
