Send sms via intent

1 vote · 0 comments

Send an sms via intent

raw ·
copy
· download
Uri smsUri = Uri.parse("tel:100861"); Intent intent = new Intent(Intent.ACTION_VIEW, smsUri); intent.putExtra("sms_body", "shenrenkui"); intent.setType("vnd.android-dir/mms-sms"); startActivity(intent);

Be the first to comment

Sign in with OpenID