chimbu
chimbu

Reputation: 806

Make incoming call in Android emulator without command code

I'm trying to develop a small app that will be registered on PhoneStateListener and do some magic over incoming and outgoing calls monitor. For debugging purposes, I need to trigger onCallStateChanged(...) event from outside of phone, not perform real incoming voice call.

Is it possible to do this somehow with sending phone number to debugged app without command line code?

Upvotes: 1

Views: 5875

Answers (4)

user2720524
user2720524

Reputation:

create one more emulator on avd machine. You can find the emulator number from top of the emulator. Eg. 5554 this number is like phone number you can enter the emulator this number(5554 or 5556 or somting) and make a incoming call.

enjoy ...

Upvotes: 7

Sanket Shah
Sanket Shah

Reputation: 4382

Just follow Go to Window ===> Open Perspective & choose DDMS

In DDMS click on Emulator Control then select Voice and write number of another emulator on which You want to call. and then click on call .

You can find another emulator number from top of the emulator.

Hope it will helps you.

Upvotes: 1

Akhil
Akhil

Reputation: 303

Try one more emulator. You can find the emulator number from top of the emulator. Eg. 5556

Upvotes: 0

Ravi
Ravi

Reputation: 3772

You can use DDMS perspective in eclipse for initiating dummy calls , message etc

You can see DDMS perspective on top right corner if you do not see it

Go to Window ===> Open Perspective & choose DDMS

Upvotes: 0

Related Questions