Android Question pass parameter by sms to intent

derez

Expert
Licensed User
Longtime User
Hi
I'm using recieved SMS to start an application.
B4X:
Sub Service_Start(startingIntent AsIntent)
If startingIntent.Action = "android.provider.Telephony.SMS_RECEIVED" Then
   StartActivity(Main)
End If
End Sub
Is it possible to pass a parameter in the sent sms and get it here ?
Of course I could check in main the content of the sms and use it but I wondered if it could be done by the statrtingintent.getextra
 
Top