Java tutorial
//package com.java2s; import android.content.Context; import android.content.Intent; import android.net.Uri; public class Main { public static void callSms(Context context, String number, String content) { Intent intent = new Intent(); intent.setAction(Intent.ACTION_SENDTO); intent.putExtra("sms_body", content); intent.setData(Uri.parse(String.format("smsto:%s", number))); context.startActivity(intent); } }