Android发送短信

public void sendMsg(String number, String text){
		SmsManager smsManager = SmsManager.getDefault(); 
		smsManager.sendTextMessage(number, null, text, null, null); 
	}


<uses-permission android:name="android.permission.SEND_SMS" />

你可能感兴趣的:(android)