The following methods are tested successfully
First, the use of command simulation
(i), Analog call
1. Open command line cmd and enter Telnet.
2. Then enter o localhost 5,554 to return to the car and connect to the emulator.
3. Enter GSM call 13656563636, display OK is successful (phone number can be arbitrarily specified)
(b), Analog SMS
1. Open command line cmd and enter Telnet.
2. Then enter o localhost 5,554 to return to the car and connect to the emulator.
3.sms send 13656563636 Hello, show OK is successful (phone number can be arbitrarily specified, Hello is SMS content)
Second, using DDMS simulation
1. Bring up the Ddms window
Step: Open Eclipse->window->open Perspective->ddms
2. Bring up the emulator control window
Step: Open Eclipse->window->show view->other->android->emulator Control
3. Enter the incoming number under telephony actions
Voice and SMS radio buttons, respectively, for phone and SMS
(1) Analog calls, click on call when Voice is selected
(2) Analog SMS, select SM, enter the text message in the message, then click the Send button
Three, the following:
1. Incoming Calls
2, to SMS