Send Message : SmsManager « Core Class « Android






Send Message

    

import android.telephony.SmsManager;
 class Tools {
  public static void sendMsg(String tel, String s) {
    SmsManager smsManager = SmsManager.getDefault();
    smsManager.sendTextMessage(tel, null, s, null, null);
  }
}

   
    
    
    
  








Related examples in the same category