android 发送短信功能时间:2023-03-09 16:15:18 private void sendSMS(String num,String smsBody) { String phoneNum = "smsto:" + num; Uri smsToUri = Uri.parse(phoneNum); Intent intent = new Intent(Intent.ACTION_SENDTO, smsToUri); intent.putExtra("sms_body", smsBody); startActivity(intent); }