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