Java tutorial
//package com.java2s; //License from project: Artistic License import android.content.Context; import android.content.Intent; import android.net.Uri; public class Main { public static void sendMsg(Context context, String sentTo) { Uri smsToUri = Uri.parse("smsto:" + sentTo); Intent intent = new Intent(Intent.ACTION_SENDTO, smsToUri); intent.putExtra("sms_body", ""); context.startActivity(intent); } }