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
I need to know way for converting uri to string and string to uri.
Use toString() to convert a Uri to a String. Use Uri.parse() to convert a String to a Uri.
this code doesn't work
That is not a valid string representation of a Uri. A Uri has a scheme, and "/external/images/media/470939" does not have a scheme.