Android Question ImageView.setImageURI(uri) - Workaround?

Steini1980

Active Member
Licensed User
Longtime User
Hi,

I have get Imagedata from Contentprovider, how can I load an Image in my App?

The preferred method to do this is not available in Basic4Android, I need something like:

B4X:
Uri uri = Uri.parse("content://de.dirkfarin.imagemeterpro/image/anno/" + mImageID);
imageView.setImageURI(uri);

How can I load the Image from Content://xxx into B4A App?
The Mediastore on this Contentprovider doesn't have table data, I get directly the Image.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…