send Sms To - Android android.telephony

Android examples for android.telephony:SmsManager

Description

send Sms To

Demo Code

import android.content.Context;
import android.telephony.SmsManager;

public class Main {

  public static void sendSmsTo(Context context, String phoneNumber, String content) {
    SmsManager.getDefault().sendTextMessage(phoneNumber, null, content, null, null);
  }//w  w  w  .  ja va 2 s.co  m

}

Related Tutorials