Simulate calls and text messages using commands and ddms on the android Simulator-illustration

Source: Internet
Author: User

The following methods are all tested successfully:

1. Use commands to simulate

(1) simulate incoming calls

1. Open command line CMD and enter Telnet and press Enter.
2. Enter o localhost 5554
Press enter to connect to emulator.
3. Enter GSM call 13656563636. If OK is displayed, the call is successful (the phone number can be specified at will)

(2) simulate text messages

1. Open command line CMD and enter Telnet and press Enter.

2. Enter o localhost 5554 and press enter to connect to emulator.
3. SMS send13656563636 hello. If OK is displayed, the call is successful (the phone number can be specified at will, and hello is the text message content)

2. Simulation with ddms

1. Call up the ddms window

Step: Open eclipse-> window-> open perspective-> ddms

2. Call out the emulator control window.

Step: Open eclipse-> window-> show view-> Other-> Android-> emulator Control

3. Enter the recipient's phone number in incoming number under telephony actions

There are voice and SMS single-choice buttons, representing the phone and SMS respectively


(1) simulate a call. When selecting voice, click call.

(2) simulate a text message. When SM is selected, enter the text message content in the message, and then click send to send

 

 

Iii. as follows:

1. Call


 

 

2. SMS

 

Thank you!

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.