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 13549243178, 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 13549545612 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->other->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
The effect is as above, no longer affixed.
(2) Analog SMS, select SM, enter the text message in the message, then click the Send button
The effect is as above, no longer affixed.
Android Simulator with command and DDMS analog calls and SMS