Can someone please help me solve this problem, I have a seekbar defined as Fan.
I want to send the value of the seekbar using asyncstreams. I am having errors and a big headache after trying many combinations which don't work. It may be very simple for most of you here but I still need help doing this.
I want to send the value of the seekbar using asyncstreams. I am having errors and a big headache after trying many combinations which don't work. It may be very simple for most of you here but I still need help doing this.
B4X:
Sub Fan_ValueChanged (Value As Int,UserChanged As Boolean)
If (UserChanged=True) Then
Log ("Value:" & Value & UserChanged) 'This triggers fine when below is commented
AStream.Write(Value.GetBytes("UTF8")) ' compile error with this line
End If
End Sub