Sub SendSms(PhoneNumber As String, Text As String)
Dim ps As PhoneSms
Dim r As Reflector
r.Target = r.RunStaticMethod("android.telephony.SmsManager", "getDefault", Null, Null)
r.RunMethod4("sendTextMessage", Array As Object(PhoneNumber, Null, Text, Null, Null), _
Array As String("java.lang.String", "java.lang.String", "java.lang.String", _
"android.app.PendingIntent", "android.app.PendingIntent"))
End Sub
hi,
Why this code sms sent status end sms delivered not work?
thanks
kalarius thanks, I can not use phonesms otherwise my phone operator after each sms sent sends an sms confirmation payme.
so I have to use the code Erel but smssentstatus does not work.
The SMS events depend on the mobile operator confirmation. Without it there is no way to check the status of the message. So it will only work if you use the standard PhoneSms code.