How the simulator receives text messages and calls

Source: Internet
Author: User

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:

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.