Hello there,
I used the following code trying to capture an SMS being sent by another application.
After reading here Basic4android - Phone
I saw that
SmsSentStatus - Raised after your application sends an Sms message.
This means that I cannot capture the event if the SMS is sent by another app?
If yes, is there a way to do it ?
Thanks.
I used the following code trying to capture an SMS being sent by another application.
B4X:
Sub Process_Globals
Dim PE As PhoneEvents
End Sub
Sub Service_Create
SmsS.Initialize("PE")
End Sub
Sub Service_Start (StartingIntent As Intent)
End Sub
Sub Service_Destroy
End Sub
Sub PE_SmsDelivered(Ph As String)
Log("----Delivered")
End Sub
Sub PE_SmsSentStatus(Success As Boolean, ErrorMessage As String, PhoneNumber As String, Intent As Intent)
Log("----Send")
If(Success) Then
Else
End If
End Sub
After reading here Basic4android - Phone
I saw that
SmsSentStatus - Raised after your application sends an Sms message.
This means that I cannot capture the event if the SMS is sent by another app?
If yes, is there a way to do it ?
Thanks.