发送短信的方法 有两种方法可以实现发送短信,其一是使用intent-startActivity,URI数据格式为"smsto:num",调用的action为Intent.ACTION_SENDTO: Uri uri = Uri.parse("smsto:5554"); Intent it = new Intent(Intent.ACTION_SENDTO, uri); it.putExtra("sms_body", "你好.."…
//发短信 class SendMsgClickListener implements OnClickListener { public void onClick(View v) { //调用Android系统API发送短信 Uri uri = Uri.parse("smsto:10086"); Intent intent = new Intent(Intent.ACTION_SENDTO, uri); intent.putExtra("sms_body", &qu…