Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Fake Incoming Call Android

Tags:

android

adb

How can I fake an incoming call inside the android emulator?

The following lets me make a call but I'd like to force the emulator to receive a call, preferably from a number I've selected.

adb shell am start -a android.intent.action.CALL tel:1112223333 

So, the direct opposite of the command above.

like image 323
andy Avatar asked Feb 11 '11 01:02

andy


People also ask

Is there an app that can call your phone?

Talkatone, which is available for both Android and iOS, provides you with a free US phone number that you can use to send and receive texts, and place calls to most US-based numbers, including landlines. It is definitely a calling app worth checking out. You can use Talkatone to make calls via Wi-Fi or cell data.

How can I get an incoming call notification on another number?

Android 9.0Find and tap Phone. Tap the menu button (three vertical dots), then tap Settings. Tap Calls > Additional settings. Tap the switch beside Call waiting to enable the function.


1 Answers

You can use DDMS in Eclipse, Android Device Monitor in Android Studio or run command lines on terminal

Using DDMS:

  • Open DDMS/ADM
    • in Eclipse: Window > Open Perspective > DDMS
    • in Android Studio: Tools > Android > Android Device Monitor
  • Enter the fake incomming phone number
  • Choose "Voice"
  • Press call

enter image description here

After that, you will see the emulator receive this phone call as follows

enter image description here

Using command lines

$ telnet localhost 5554
$ gsm call 123456789

Note: 5554: console port number for emulator instance
12345678: incoming phone number

like image 139
Nguyen Avatar answered Sep 29 '22 12:09

Nguyen