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.
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.
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.
You can use DDMS in Eclipse, Android Device Monitor in Android Studio or run command lines on terminal
Using DDMS:
After that, you will see the emulator receive this phone call as follows
Using command lines
$ telnet localhost 5554
$ gsm call 123456789
Note: 5554: console port number for emulator instance
12345678: incoming phone number
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With