You can use either of the following methods:
1. command line:
First, enable the simulator, and then enter "Telnet localhost XXX" in the command line. Enter the first few digits of the name of the simulator you started in the xxx field, which is generally 5554; after you press enter, "OK" indicates that the connection is successful. Then, you can use SMS send and GSM call to simulate SMS receiving and answering.
SMS:
SMS send 10086 "this is a test." // It seems that Chinese characters are not supported very well. The simulators are garbled after receiving the text message
Dialing:
GSM call + 10086 // call the simulator
GSM cancel + 10086 // actively HANGS UP
:
2. ddms
The emulator control tab is available in ddma in eclipse, which provides the function of sending text messages and making phone calls to the simulator, which is much simpler than the preceding one, in fact, the above command line operation is to call the ddms shell; for example: