Android Question How to use base64 (blob image) image to ImageSlider

Hey everyone. I'm new to B4A. This may be a stupid question. I'm having a MySQL remote database which having 4 columns to insert 4 images. I convert images into BLOB and stored it in the db. I want to show those images in image slider. I can turn blob into bit map and show it in the imageviewer. But I don't know how to show them in image slider. Please help me.

By the 'm from Sri Lanka. Thanks Erel and the team for making this amazing tool and allow us to use it freely
 

DonManfred

Expert
Licensed User
Longtime User
Welcome!

You need to write the blob to a image on disc first. You then can use the uri of the stored file in the ImageSlider.
 
Upvote 0
Welcome!

You need to write the blob to a image on disc first. You then can use the uri of the stored file in the ImageSlider.
Thanks for the reply.
Doesn't it take too much time to decode and save image on disc and call it on ImageSlider? I found a tutorial of panel slider. I implemented it. I used
panel.SetBackgroundImage(bitmap) to show the image.

Is there any other way I can use without saving the decoded blob?
 
Upvote 0
Top