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 str
You can use Drawable instead of Uri.
ImageView iv=(ImageView)findViewById(R.id.imageView1); String pathName = "/external/images/media/470939"; Drawable image = Drawable.createFromPath(pathName); iv.setImageDrawable(image);
This would work.