views:

517

answers:

4

Hi all,

I am developing a small application on Google's android emulator. I am trying to figure out how I can simulate a phone call from one instance of an emulator to another (both running on my computer). Does anyone know how this can be done?

Thank you very much.

+3  A: 
  • Launch the dialer application on the first emulator. As the number to dial, enter the console port number of the second emulator you'd like to simulate a call on.
  • You can see the port number of the instance in the windows title of the emulator. alt text
  • Press "Dial". A new inbound call appears in the second emulator instance.
Kami
There still seems to be a problem, from some reasn the emulator won't ring... Any ideas why?
vondip
A: 

Alternatively to the solution provided by Kami, you can use DDMS or just the android console (in Linux and assuming emulator port is 5554):

$ telnet localhost 5554 <<!
> gsm call 12345678
> !
dtmilano
A: 

great.. that was realy helpfull.. appreciate that..

acidburn
A: 

In order for calling the port number to work, both emulator instances must be started from the same android AVD manager process. Two separate 'android' processes launching different emulators will not be able to call each other.

scsibug