Android Question Convert array of bytes to string

engvidal

Member
Licensed User
Longtime User
Hi
I am using the jMQTT with B4A.
The receive sub:

Private Sub mqtt_MessageArrived (Topic As String, Payload() As Byte)
....


uses an array of bytes to the received messages.

I am allways receiving text messages. How can I write that to a label ?

Vidal
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…