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