Joke Collection Website - Blessing messages - How to automatically send short messages to the simulator of this machine?

How to automatically send short messages to the simulator of this machine?

Private Void Send (String Content, String Mobile){// Get the manager for sending short messages, and use android.telephony.SMS manager SMS manager = SMS manager.getdefault (); //If the short message content is too long, send if (content. Length ()) in segments > 70){ // Use SMS Manager to segment the short message content and return the segmented ArrayList Contents = SMS Manager. Divide the message (content); For(String msg: contents){ // Use SMS manager to send SMS content//Parameter 1 For SMS receiver//Parameter 3 for SMS content//Others can be set as empty SMS manager. Send SMS (mobile phone, empty, msg, empty, empty); }//Otherwise, send} else {SMS manager. Sendtextmessage (mobile, null, content, null, null) once; }} The method of sending short messages in the background. . Add permission to send short messages.