Android 发送短信
作者:互联网
SmsManager smsManager = SmsManager.getDefault();
String sTel = "13651417694";
String sMsg = getResources().getString(R.string.msg);
smsManager.sendTextMessage(sTel, null, sMsg, null, null);
<uses-permission android:name="android.permission.SEND_SMS" /><!-- 发送短信权限 -->
标签:短信,smsManager,sTel,发送,sMsg,SmsManager,Android,null,String 来源: https://blog.51cto.com/u_15298588/3034419