I use this code in to display images form mysql database in xImageSliderIG1
but the xImageSliderIG1 give this message ( Couldn't load the image .Tap to retry)
but the xImageSliderIG1 give this message ( Couldn't load the image .Tap to retry)
B4A COde:
If j.Success Then
Dim jp As JSONParser
jp.Initialize(j.GetString)
Dim quotes As List = jp.NextArray
For Each m As Map In quotes
'
Dim buffer() As Byte
Dim b As Bitmap
Dim su As StringUtils
buffer = su.DecodeBase64(m.get("UserImage"))
Dim In As InputStream
In.InitializeFromBytesArray(buffer, 0, buffer.Length)
b.Initialize2(In)
Dim items As List
items.Initialize
items.AddAllAt (0,quotes)
xImageSliderIG1.SetItems(items)
timer.Enabled=True
Next
End If