Hi. I tried using MJPEG Class in B4A (copied from B4J example and modified to B4A) with a string written directly
and it's working. But if I store that same string in a variable
Is not working. It just displays a blank screen, no error.
Any help is appreciated.
mj1 is defined in process_globals as MJPEG
and this is the Frame Sub
B4X:
mj1.Connect("192.168.0.5/", 51042)
B4X:
Dim ip as String = "192.168.0.5/"
mj1.Connect(ip, 51042)
Any help is appreciated.
mj1 is defined in process_globals as MJPEG
and this is the Frame Sub
B4X:
Sub mj1_Frame(bmp as Bitmap)
ImageView1.Bitmap = bmp
End Sub