I'm new to programming. I am learning how to add variable integer with String number = " "; below is an example. I'm testing.
Button buttonSend;
int phone =9900990;
public void onClick(View v) {
switch (v.getId()) {
case R.id.buttonSend:
String messageToSend = "#abc";
String number = " ";
SmsManager.getDefault().sendTextMessage(number, null, messageToSend, null, null);
break;
}
}