SQL and get blob image

pluton

Active Member
Licensed User
Longtime User
Thanks Erel but because I don't know how to do that I will do something like this from HttpUtils - http://www.b4x.com/forum/basic4andr...ndroid-web-services-now-simple.html#post50919

I will store images in img folder on my server and link to images I will store in mySql database
Then the pictures will be loaded with link from my database.

I was thinking something like this:
B4X:
Sub Process_Globals
    Dim ImageUrl As String
    ImageUrl = "http://www.someserver.com/img/logo2.png"
    ' ImageURL will be a link (string) from my database this is just a example
End Sub

Sub make_image
   Dim b As Bitmap
                b = HttpUtils.GetBitmap(ImageUrl)
                Activity.SetBackgroundImage(b)
End sub
 
Last edited:
Upvote 0
Top