Android Question Download BMP online

Marco Gioia

Member
Licensed User

Marco Gioia Member Licensed User
Hi all,

I need something like that

B4X:
dim bmp1 as bitmap
dim bmp2 as bitmap

' instead of
bmp1 = LoadBitmap(File.DirAssets, "x1.bmp")
bmp2 = LoadBitmap(File.DirAssets, "x2.bmp")

'
bmp1 = LoadBitmap("www.mysite.com/", "x1.bmp")
bmp2 = LoadBitmap("www.mysite.com/", "x2.bmp")

Is it possible?
 
Last edited:

DonManfred

Expert
Licensed User
Longtime User
This is the english part of the Forum. Please write english here.

LoadBitmap ony loads local files. You can not use a onlineadress here. Downlod the bmp using okhttputils2 and save the image to file.
 
Upvote 0
Top