[VIDEO-Tut] - Simulating incoming Phone Calls
What you learn: You will learn how to simulate a GSM-Call to the Android Emulator over a TelNet connection.
Difficulty: 0.5 of 5
What it will look like:
[flash width=681 height=451]http://anddev.org/images/tut/basic/telnet_emuconnect/screencast.swf[/flash]
Description in words:
- The emulator has to be running

- Open the Ttelnet-Client of your choice (on WinXP is should already be installed, on probably have to install it later on (see below how to do that on WinVista).

- type to it: "o localhost 5554" // dunno exactly if it is always, could also be 5555... have a try.
I. "o" stands for "Open", "localhost" is the 'IP' and "5554" is the port the telnet-server is listening to.
- Connection should establish in a few seconds.

- type: "gsm call 123456" to simulate an incoming call.

- See the emulator ringing


:idea: Simulating SMS 
Simulating an incoming SMS via the Commandline/Terminal is pretty the same, but you need at least Version m3-rc37a to do that.
The Command is like this:
- Code: Select all
// General style:
sms send <NUMBER> <TEXT>
// Example:
sms send 0160123456 HelloWorld
Installing TelNet-Client on Windows Vista wrote:
- Click Start then select Control Panel.
- Select Programs and Features (upper menu bar).
- Select Turn Windows features on or off.
- Select the Telnet Client option.
- Click OK.
- A dialog box will appear to confirm installation. The telnet command should now be available.
Regards,
plusminus





