21

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?

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
MilapTank
  • 9,988
  • 7
  • 38
  • 53

3 Answers3

28

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.

eyal-lezmy
  • 7,090
  • 3
  • 41
  • 35
pcans
  • 7,611
  • 3
  • 32
  • 27
  • 2
    any idea when this feature will be available? Great work so far on geny! – Francois Apr 01 '14 at 08:44
  • I suppose it is safe to assume there is also no way to simulate a mobile data network? If so, please let us know. – Sean Beach Sep 16 '14 at 14:47
  • 4
    *UPDATE* : Now you can place a call or send SMS in Genymotion's latest update. Unfortunately, works only with the purchased version only. https://www.genymotion.com/#!/pricing – Rajkiran Mar 09 '15 at 07:01
12

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.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
MilapTank
  • 9,988
  • 7
  • 38
  • 53
  • 1
    Consider changing your accepted answer to this answer if you want, since this is the latest information. – Andrew T. Apr 22 '15 at 07:10
  • 1
    FYI you can also launch phone calls from instrumented tests code using the Java API: https://www.genymotion.com/#!/developers/java-api – eyal-lezmy Aug 06 '15 at 08:29
  • 1
    in window 7 when i press ctrl+8 its open google search not able to get above view. – RaRa Feb 23 '16 at 12:18
3

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!!!

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Madhav Kishore
  • 269
  • 1
  • 3
  • 9