imgsimonebiliato Well-Known Member Licensed User Longtime User Feb 5, 2015 #1 Hello, please I need to open an intent to the native message application of a device. Inoltre, I would like to have the text of the sms already set from the application, so that I have only to set the recipient of the message. Can anyone help?
Hello, please I need to open an intent to the native message application of a device. Inoltre, I would like to have the text of the sms already set from the application, so that I have only to set the recipient of the message. Can anyone help?
Erel B4X founder Staff member Licensed User Longtime User Feb 5, 2015 #2 Why don't you send the SMS from your app directly (PhoneSms)? Upvote 0
imgsimonebiliato Well-Known Member Licensed User Longtime User Feb 5, 2015 #3 Because I want to check the sms text before to send it Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Feb 6, 2015 #4 Try this: Code: Dim i As Intent i.Initialize(i.ACTION_VIEW, "sms:<phone number>") i.PutExtra("sms_body", "message body") StartActivity(i) Upvote 0
Try this: Code: Dim i As Intent i.Initialize(i.ACTION_VIEW, "sms:<phone number>") i.PutExtra("sms_body", "message body") StartActivity(i)
imgsimonebiliato Well-Known Member Licensed User Longtime User Feb 6, 2015 #5 Yes, it works! Thanks Upvote 0