derez Expert Licensed User Longtime User Feb 24, 2014 #1 Hi I'm using recieved SMS to start an application. Code: Copy 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
Hi I'm using recieved SMS to start an application. Code: Copy 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
derez Expert Licensed User Longtime User Feb 24, 2014 #2 I see a solution in the example here http://www.b4x.com/android/forum/th...cepting-sms-messages-in-the-background.20103/ , to check the sms body before launching main. Upvote 0
I see a solution in the example here http://www.b4x.com/android/forum/th...cepting-sms-messages-in-the-background.20103/ , to check the sms body before launching main.