1.直接发送短信
SmsManager sms = SmsManager.getDefault();
sms.sendTextMessage(phone, null, 短信内容
null,null);
2.进入发送短信页面进行发送
Uri uri=Uri.parse("smsto:"+phone);
Intent intent=new Intent(Intent.ACTION_SENDTO,uri);
intent.putExtra("simpleWebView", true);
if(regCode != null){
intent.putExtra("sms_body", 短信内容);
}
startActivity(intent);