Hi Johan Shoeman
I already tried both suggestions.
The first suggestion works, but if the data is more than 78 bytes long, it fails.
B4X:
Dim Bytes() As Byte = Text.GetBytes("utf8") 'non-standard but still recommended
If Bytes.Length > 78 Then
Log("Too long!")
Return Null
End If
the second option has not worked for me. install all the libraries, I move one or another thing. it just gives me errors. every time the compiler always says something is missing. I am looking for something simple as the first suggestion.