RockSmoke
Member
Good day to everyone. In my project on B4A, I convert the data I receive over BLE to UTF-8 units. Then I want to give it to the screen via the label, but I am getting such an error. How do i convert to label text
Thanks For Your Answer.
ERROR MESSAGE : (TextView) android.widget.TextView{82e135b V.ED..... ......ID 0,1677-1074,1840 #f aid=1073741836}
Thanks For Your Answer.
ERROR MESSAGE : (TextView) android.widget.TextView{82e135b V.ED..... ......ID 0,1677-1074,1840 #f aid=1073741836}
B4A:
Dim lbl2 As B4XView = XUIViewsUtils.CreateLabel
Private Label3 As Label
lbl2.Text = BytesToString(Data, 0, Data.Length, "UTF8")
Label3.Text=lbl2.Text