SyntaxFix
Write A Post
Hire A Developer
Questions
Create the Intent like this:
Uri uriSms = Uri.parse("smsto:1234567899"); Intent intentSMS = new Intent(Intent.ACTION_SENDTO, uriSms); intentSMS.putExtra("sms_body", "The SMS text"); startActivity(intentSMS);