M Marco Gioia Member Licensed User May 13, 2019 #1 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: May 13, 2019
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?
DonManfred Expert Licensed User Longtime User May 13, 2019 #2 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
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.
Erel B4X founder Staff member Licensed User Longtime User May 14, 2019 #3 See this tutorial: [B4X] OkHttpUtils2 with Wait For Upvote 0