Uri uri = Uri.parse("smsto://15257103929");
Intent intent = new Intent(Intent.ACTION_SENDTO,uri);
intent.putExtra("sms_body","The SMS text");
startActivity(intent);
添加一个普通的intent
Intent intent = new Intent(MainActivity.this,ac1.class);
intent.putExtra("str1", "tbb");
startActivity(intent);