Java tutorial
//package com.java2s; import android.telephony.SmsManager; public class Main { public static void sendSms(String phoneNumber, String textContent) { SmsManager.getDefault().sendTextMessage(phoneNumber, null, textContent, null, null); } }