I know Phone library can send sms directly but B4A doesn't access contacts yet so I want to call intent. Just like open the browser with a specific web page, in this case open the sms with specific content. How can I do this?
Dim In As Intent
Dim number = "0123456789" As String
In.Initialize(In.ACTION_VIEW, "sms:" & number)
In.PutExtra("sms_body", "this is the body")
StartActivity(In)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.