A simple way to call and send text messages to the Android simulator

Source: Internet
Author: User

When developing an Android application, it is sometimes necessary to test the response of the application when making a call to an Android phone to send a text message. For example, to write a broadcast receiver to prompt the user to receive or process text messages, you need to send a text message to the phone to test. Here's a simple way to make a phone call to an Android simulator.

This method is implemented using Eclipse ADT's DDMS, first clicking Open Ddms, in the upper right corner of the Eclipse interface,

If you can't find it, just click on the icon on the left and then tap others to see it.

After opening, you will see a emulator control module in the left middle of the interface,

In the incoming number input box, enter your mobile phone numbers to call or send text messages.

First run the Android virtual machine, the next question is, we do not know the Android virtual machine mobile phone number is, but if you look at the title bar, you will find that there are 5554 words,

We can think of it as the mobile phone's virtual phone number (the actual virtual phone number should be 15555215554), as long as the number in the incoming numbers input box to enter the 11-digit mobile, or just enter 5554, click the call button below, To make a phone call to the Android virtual machine:

Send SMS is similar, enter the number, select SMS, then enter the text message content, click Send.

In fact, when you use DDMS to call the Android virtual machine to send text messages, you can enter any number. But if you use another Android virtual machine to call the Android virtual machine to send text messages, you must use 15555215554 or 5554.

Create another Android virtual machine, run it, you can find its title is 5556, then dial 5554 with that virtual machine, and you will find the above:

In addition, you can use the Android virtual machine to bring your own browser to the Internet, and even for it to install QQ for Android and other applications. Let's have a look.

Push family, free scenic tickets: www.tuituizu.com.

Travel Network, a free dating site: www.jieberu.com

A simple way to call and send text messages to the Android simulator

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.