Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make incoming call in Genymotion emulator for Android?

How can I make an incoming call in Genymotion emulator for Android?

I am using Genymotion emulator to run and test my application.

In the native emulator DDMS, we can make a fake call. Can this be done using the Genymotion emulator?

like image 362
MilapTank Avatar asked Mar 05 '14 13:03

MilapTank


People also ask

How do I make a phone call from an Android emulator?

Android Emulator Simulate call To 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.

Is Genymotion better than Android emulator?

Genymotion also runs Robotium tests visibly faster, and with a smoother UI. However, be warned there are some noticable differences between Genymotion and the default Android emulators: You cannot use the special 10.0. 2.2 IP address with Genymotion to access localhost on the machine you are running the emulator from.

Which Android version is best for Genymotion?

Today, we're proud to announce Android 8.0 Oreo now works flawlessly on Genymotion 2.12!


3 Answers

There is no way to do that in Genymotion yet.

UPDATE:

Since version 2.4.0 Genymotion supports phone ans SMS emulation. You can control it from the UI, using the dedicated widget or the Java API to launch it from your Java instrumented tests code.

Disclaimer: I work for Genymotion.

like image 197
pcans Avatar answered Sep 21 '22 12:09

pcans


I found the call function in Genymotion...

The Phone widget allows to test applications relying on telephony features and observe their behavior when receiving a call or a text message.

Enter image description here

To use the Phone widget, click or Ctrl + 8.
To simulate an incoming call:

  1. Enter an incoming phone number.
  2. Click Call.

To simulate an incoming message:

1.Enter an incoming phone number. 2.Enter a text message. 3.Click Send message.

The text message is displayed in the virtual device via a notification and can also be read in the Messaging application.

:( This feature is only available with Indie and Business licenses.

like image 32
MilapTank Avatar answered Sep 24 '22 12:09

MilapTank


It is not implemented yet, but for testing purposes give 911 in your number field. This will take you to the dialer without throwing Mobile network not available.

You can also try 911856, 911782222, 911666666, etc. As long as it starts with 911 this would suffice for testing purposes!!!

like image 38
3 revs, 3 users 53% Avatar answered Sep 24 '22 12:09

3 revs, 3 users 53%