Simulate incoming calls on the Android Simulator

Source: Internet
Author: User

Recently, an Android application is required to control incoming call display.
Emulator needs to simulate the call Effect
The method is as follows:
1. Single phone number
Open command line cmd, enter telnet and press Enter.
Enter o localhost 5554 and press enter to connect to Emulator.
Enter gsm call 123456 and the above shows OK
Then I went to the simulator and there was a call on it.
Others:
Hanging up the phone number: gsm cancel <analog phone number>
Set other modes: gsm voice unregistered cannot connect to the network, and denied is the emergency call mode.

Help gsm
Allows you to change GSM-related settings, or to make a new inbound phone call

Available sub-commands:
Gsm list current phone CILS
Gsm call create inbound phone call
Gsm busy close waiting outbound call as busy
Gsm hold change the state of an oubtound call to 'held'
Gsm accept change the state of an outbound call to 'active'
Gsm cancel disconnect an inbound or outbound phone call
Gsm data modify data connection state
Gsm voice modify voice connection state
Gsm status display GSM status
2. Simulate multiple phone calls from multiple Simulators
Start Multiple simulators and play the port number of simulator B in simulator.
3. send SMS
Sms send <phone number used to send a simulated text message> <sms content>
Example: sms send 1234567 Hello
 
 
 
Problems with using the Telnet server in Vista
 
[Q] in Vista, enter telnet, and the system prompts that the file cannot be found. How can I retrieve telnet.

[Answer] Many telnet programs are not found in Vista. For example, if you enter telnet in the "run" or "Search" box at "start", the system prompts that the file is not found, in fact, Vista is not installed by default. Because it is set for servers, it is installed by default in Windows Server 2008.

The solution is also very simple. Install the system components of Vista directly. The procedure is "My Computer"-> "Control Panel"-> "program and function, in the tree on the left, you can see "enable or disable Windows". In the new dialog box "Windows function", you can see "telnet Server" and "telnet client ", select the two items and telnet will be restored. If you only need to connect to the remote server, you only need to install "telnet client.

Author: "I love technology"
 

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.