Android Question [SOLVED] Are there restrictions on the number of characters when sending SMS messages through B4A

Rene Barrera

Member
Licensed User
Longtime User
Does anyone know if there are restrictions on the number of characters to send SMS messages through B4A, Because this is when i try to send on following lines, the app does not send the message.
Thanks in advance

Sms.Send("5534674340", " Fecha: " & DateTime.Date(Ahora) & CRLF & _
" Carga: " & sRend & CRLF & _
" Importe: " & sRend & CRLF & _
" Km_Ant: " & strKmAnt & CRLF & _
" Km_Act: " & strKmACT & CRLF & _
" Gasto: " & LitrosConsumidos & CRLF & _
" Rend: " & sRend & CRLF & _
" Ope: " & PER_S_NOMBRE & CRLF & _
" Auto: " & VEH_S_SUBMARCA & CRLF & _
" Placas: " & VEH_S_PLACA & CRLF & _
" Modelo: " & VEH_I_MODELO)

If more information is needed, please let me know
 

DonManfred

Expert
Licensed User
Longtime User
an sms has approx 140-160 chars each sms. If using unicode characters then it may be less bytes. CRLF count too
 
Upvote 0

Derek Johnson

Active Member
Licensed User
Longtime User
You can chain several together if you know the syntax. I don't think that the Library does this for you, might be nice if it did ;)

Derek
 
Upvote 0
Top