The Android app allows users to select a photo from their phone gallery, in which I save the URIs in the area. Then I extract this information and use Picasso to load it into the image. For some reason, the image does not load.
The URI looks something like this:
content://com.android.providers.media.documents/document/image%3A333180
I save it in an area using mCategory.icon = imageURI.toString(), and then on boot:
Picasso.with(getContext())
.load(Uri.parse(mCategory.icon))
.resize(200, 200)
.error(R.drawable.mountain)
.into(viewHolder.categoryIcon);
source
share