engvidal Member Licensed User Longtime User Aug 26, 2016 #1 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
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
derez Expert Licensed User Longtime User Aug 26, 2016 #2 https://www.b4x.com/android/help/byteconverter.html#byteconverter_stringfrombytes Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Aug 26, 2016 #3 https://www.b4x.com/android/forum/threads/b4x-bytes-to-file.70111/#post-445167 Upvote 0
engvidal Member Licensed User Longtime User Aug 29, 2016 #4 Thank you for all I did it work now. Vidal Upvote 0