Johan Hormaza Well-Known Member Licensed User Longtime User Aug 15, 2019 #1 How can I download multiple images from a JRDC2 database using ImageDownloader or something similar? Thank you!
How can I download multiple images from a JRDC2 database using ImageDownloader or something similar? Thank you!
Erel B4X founder Staff member Licensed User Longtime User Aug 15, 2019 #2 ImageDownloader is mostly never needed. You should make regular requests with DBRequestManager and then convert the blobs to images. There are utility methods in DBRequestManager to help you with the conversion. Upvote 0
ImageDownloader is mostly never needed. You should make regular requests with DBRequestManager and then convert the blobs to images. There are utility methods in DBRequestManager to help you with the conversion.
Johan Hormaza Well-Known Member Licensed User Longtime User Aug 16, 2019 #3 Erel said: ImageDownloader is mostly never needed. You should make regular requests with DBRequestManager and then convert the blobs to images. There are utility methods in DBRequestManager to help you with the conversion. Click to expand... That is clear to me EREL. What I mean is to download the images in the same style as the ImageDownloader class. Because the way JRDC2 does it, the Activity affects me when it enters Pause and this causes me to open the activity again when I go out to another activity, something that ImageDownloader does not do. Thank you. Upvote 0
Erel said: ImageDownloader is mostly never needed. You should make regular requests with DBRequestManager and then convert the blobs to images. There are utility methods in DBRequestManager to help you with the conversion. Click to expand... That is clear to me EREL. What I mean is to download the images in the same style as the ImageDownloader class. Because the way JRDC2 does it, the Activity affects me when it enters Pause and this causes me to open the activity again when I go out to another activity, something that ImageDownloader does not do. Thank you.
Erel B4X founder Staff member Licensed User Longtime User Aug 16, 2019 #4 Move the code to the starter service. Check if the activity is not paused and if not call a sub in that activity and set the image. Upvote 0
Move the code to the starter service. Check if the activity is not paused and if not call a sub in that activity and set the image.