Simulate an incoming call from a private number

Go To StackoverFlow.com

6

How can I simulate an incoming call from a private number -- in an emulator?

2012-04-04 02:24
by NoName
no caller id? is that what you mean - dldnh 2012-04-04 02:47
@dldnh Yes it is. And I'll use it in emulator - NoName 2012-04-04 02:48


9

connect to your PC using telnet on the port of your emulator, e.g.

telnet localhost 5554

and use the gsm call command with a number of # instead of digits

gsm call #

and you'll receive your unknown call on the emulator's phone.

2012-04-04 03:02
by dldnh
Thank you so much :- - NoName 2012-04-04 03:16
glad I could help - dldnh 2012-04-04 03:17
Could you please help me with SMS? Can I send a SMS (private number) to emulator - NoName 2012-04-04 04:56
unlike a call, an SMS must have a number with i - dldnh 2012-04-04 10:02
This simulates a call from an unknown number but doesn't show the "Private Number" text in the android dialler - Sojurn 2014-02-11 04:47
Unfortunately that does not seems to work out of the box with recent AVD versions, you need the auth token that is stored in ~/.emulator_console_auth_token on Unix. Maybe you could edit your response - Romuald Brunet 2018-05-15 14:04