The Android emulator includes its own GSM emulated modem that lets you simulate telephony functions in the emulator. For example, you can simulate inbound phone calls and establish/terminate data connections. The Android system handles simulated calls exactly as it would actual calls. The emulator does not support call audio in this release.
You can use the console to access the emulator's telephony functions. After connecting to the console, you can use
to invoke telephony functions.
| Subcommand |
Description |
Comments |
call <phonenumber> |
Simulate an inbound phone call from <phonenumber>. |
|
accept <phonenumber> |
Accept an inbound call from <phonenumber> and change the call's state "active". |
You can change a call's state to "active" only if its current state is "waiting" or "held". |
busy <phonenumber> |
Close an outbound call to <phonenumber> and change the call's state to "busy". |
You can change a call's state to "busy" only if its current state is "waiting". |
cancel <phonenumber> |
Terminate an inbound or outbound phone call to/from <phonenumber>. |
|
data <state> |
Change the state of the GPRS data connection to <state>. |
Supported <state> values are:
unregistered -- No network available
home -- On local network, non-roaming
roaming -- On roaming network
searching -- Searching networks
denied -- Emergency calls only
off -- Same as 'unregistered'
on -- same as 'home' |
hold |
Change the state of a call to "held". |
You can change a call's state to "held" only if its current state is "active" or "waiting". |
list |
List all inbound and outbound calls and their states. |
|
voice <state> |
Change the state of the GPRS voice connection to <state>. |
Supported <state> values are:
unregistered -- No network available
home -- On local network, non-roaming
roaming -- On roaming network
searching -- Searching networks
denied -- Emergency calls only
off -- Same as 'unregistered'
on -- Same as 'home' |
status |
Report the current GSM voice/data state. |
Values are those described for the voice and data commands. |