I have a problem. I don't know if it is a bug. I updated the Phone library to the new v2.20. Since I updated, I have some SMS not sent immediately and even not sent. Like if the SMS were stored in the queue.
I have checked my code and tried with the simplest :
Sub Process_Globals
Dim Sms As PhoneSms
End Sub
Sub Activity_Create(FirstTime As Boolean)
Dim x As Int
For x=1 To 5
Sms.Send2("THE PHONE NUMBER","TEST "&x,false,false)
Next
Activity.Finish
End Sub
Hi, I am confused as to why ps.Send2(), per code listed below and per Erel's suggested code listed above, will not compile fas if the Send2 method is not available to me for some reason yet ps.Send() works fine; can some explain to me why this is the case and what I am missing?. BTW, my phone library is v2.10. Thanks, Gregg.
B4X:
Dim ps AsPhoneSms
ps.Send2("123456", "message", false, false) 'does not compile
ps.Send("123456","message") 'works fine