Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ringing myself using android emulator

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.

like image 990
vondip Avatar asked Apr 05 '10 09:04

vondip


People also ask

Can you call using Android emulator?

Android Emulator Simulate callTo simulate a phone call, press the 'Extended controls' button indicated by three dots, choose 'Phone' and select 'Call'. You can also optionally change the phone number.

How do I use TalkBack on emulator?

Turn on TalkBackOpen your device's Settings app. Navigate to Accessibility and select TalkBack. At the top of the TalkBack screen, press On/Off to turn on TalkBack. In the confirmation dialog, select OK to confirm permissions.

Can emulators have phone numbers?

Yes, you cant change the port number to a mobile number.


2 Answers

  • 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 http://www.freeimagehosting.net/uploads/6c15bc13f1.png
  • Press "Dial". A new inbound call appears in the second emulator instance.
like image 99
Kami Avatar answered Oct 06 '22 22:10

Kami


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
> !
like image 42
Diego Torres Milano Avatar answered Oct 06 '22 23:10

Diego Torres Milano