我有这段代码来打开消息。我想在其中添加正文
Intent i6 = new Intent(Intent.ACTION_VIEW, Uri
.parse("sms:9986377561"));
startActivity(i6);
添加正文
正文:测试文本
答案 0 :(得分:3)
Intent sendIntent = new Intent(Intent.ACTION_VIEW);
sendIntent.putExtra("sms_body", "The SMS text");
sendIntent.putExtra("address", "phoneNumber1;phoneNumber2;...");
sendIntent.setType("vnd.android-dir/mms-sms");
startActivity(sendIntent);