Hello KMatle,
Thank you for your Answer....
First Time i use this to build my "SendString":
Dim Query as String
Query = Chr(0) & Chr(0) & Chr(0) & Chr(0) & Chr(194) & Chr(6) & Chr(1) & Chr(3)
Dim MyMessage As String = Query
Dim bytes() As Byte = MyMessage.GetBytes("UTF-8")
astream.Write(bytes)
It doesn't work!
Now i use the ByteBuilder Class! Look like this and it's work perfect!
Dim Query As BytesBuilder
Query.Initialize
'Query.Clear
Query.Insert(0, Array As Byte(0x00, 0x00, 0x00, 0x00, 0xC2, 0x06, 0x01, 0x03))
astream.Write(Query.ToArray)
https://www.b4x.com/android/forum/t...implifies-working-with-arrays-of-bytes.89008/
Thanks!