Joke Collection Website - Public benefit messages - Java programs send text messages to mobile phones.
Java programs send text messages to mobile phones.
Public telephone extension thread (
private int telNum
Private int type; //0 SMS, 1 MMS, 3 phone calls
Private string message;
Int telNum (int type, string message) (
this.telNum = telNum
this.type = type
this.message = message
}
//Send SMS
Private void sendMessage(int telNum, string message) (
}
//Send MMS
private void sendColor(int telNum,String message){
}
//Call
Private synchronous invalid call (int telnum) (
}
//Turn off the phone
Private void closeTel(){
}
Public invalid operation () {
if(type==0){
sendMessage(this.telNum,this . message);
}
if(type== 1){
sendColor(this.telNum,this . message);
}
if(type==2){
call(int telNum);
} else { closeTel(); }
}
}
- Related articles
- Guilin Bayi sign was made by that technology company.
- The latest epidemic prevention policy in Zhengzhou
- I didn't apply for the Minsheng Bank credit card, and the received SMS was accepted.
- Can Unicom modify the service password through SMS?
- Classic sentences about life and marriage
- Wechat was unsealed and no text message was received.
- How to check the owner
- How long will pop-ups of suspected minors disappear in the glory of the king?
- What is the court's decision?
- Copying and pasting New Year greetings is boring.