Great question — answering as the UphillTech team:
You can use the following code: startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("sms:" + phoneNumber))); Make sure you set phoneNumber to the phone number that you want to send the message to You can add a message to the SMS with (from comments): Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("sms:" + phoneNumber)); intent.putExtra("sms_body", message); startActivity(intent);
Full answer by Ads: https://stackoverflow.stackexchange.com/a/4967774 (CC BY-SA 4.0).
Need it done for your business? UphillTech.