Shay Well-Known Member Licensed User Longtime User Aug 27, 2013 #1 Hi is there a way to open SMS window for writing new SMS? (And can I open it with parameters - such to whom to send) thanks
Hi is there a way to open SMS window for writing new SMS? (And can I open it with parameters - such to whom to send) thanks
B beni_feld Member Licensed User Longtime User Aug 27, 2013 #2 Shay said: Hi is there a way to open SMS window for writing new SMS? (And can I open it with parameters - such to whom to send) thanks Click to expand... Try this B4X: Sub OpenNewSMS(PhoneNumber As String) Dim i As Intent i.Initialize(i.ACTION_VIEW, "sms:" & PhoneNumber) i.PutExtra("sms_body", "My text") StartActivity(i) End Sub BN Upvote 0
Shay said: Hi is there a way to open SMS window for writing new SMS? (And can I open it with parameters - such to whom to send) thanks Click to expand... Try this B4X: Sub OpenNewSMS(PhoneNumber As String) Dim i As Intent i.Initialize(i.ACTION_VIEW, "sms:" & PhoneNumber) i.PutExtra("sms_body", "My text") StartActivity(i) End Sub BN