Emulated Features and Sensors

To simulate various behaviors of your application according to specific use cases, Genymotion provides easy-to-use widgets which emulate the following sensors and features:

Created with Sketch.

Phone

Baseband

Disk I/O

Biometrics

Created with Sketch.

Created with Sketch.

Created with Sketch.

Navigation

Power

Sound volume

You can control the volume of the sound emitted by your virtual device by clicking or

Rotate screen

This feature is not available with Android Automotive

You can rotate the screen of your virtual device by clicking Full-screen

This feature is not available with Android Automotive

Clipboard

Copy/Paste to the virtual device

1. Click [clipboard icon] 2. Paste your text into the clipboard text field. 3. From within the virtual device, hold the left mouse button in the field you wish to paste to. 4. Click Paste as on a real Android device.

as shown in the page’s UI.

Copy/Paste from the virtual device

1. From within the virtual device, select the text you wish to copy and hold the left mouse button. 2. Click Copy or Cut as on a real Android device. 3. Click the clipboard icon - the copied text is displayed in the clipboard text window. 4. The text is automatically copied to your OS clipboard.

File upload

You can upload files from your computer to the virtual device.

1. Click to open the widget window: 2. Click BROWSE to browse for the file you wish to upload. Uploaded files are stored in /sdcard/Download on the virtual device. You can also install the Open GApps package by clicking INSTALL OPEN GAPPS.

Camera and Microphone

This feature is not available with Android Automotive

The Camera and Microphone injection widget allows you to send a video and audio stream from a virtual device to the Android system. With this widget, you can test an Android application that uses an Android built-in camera and microphone. The video stream comes from a real physical webcam and microphone connected or integrated into your computer.

To use the Camera and Microphone injection widget: Click Allow your web browser to access your host webcam and microphone when prompted:

Battery

This feature is not available with Android Automotive

The Battery widget allows you to test how your application reacts with different battery charge levels and states of charge.

To use the Battery widget, click

You can:

GPS

Many applications do not rely on the GPS orientation, but use the device accelerometer or gyroscope to determine the bearing of the device, which are not yet supported.

The GPS widget allows real-time activation and modifications of a position, accuracy and bearing.

To use the GPS widget, click Then, set the following values:

Value range

Note

You can also:

Capture

The Capture widget allows you to take a screenshot or screencast of virtual devices. This way, you can broadcast images or videos of your applications.

To open the capture window, click

Then, select an action:

Identifiers

This feature is not available with Android Automotive

The Identifiers widget shows Android ID and Device ID numbers. You can view and edit these values at any time, without having to reboot your virtual device.

To use the Identifiers widget, click ID Set values or click GENERATE to generate random values. Click UPDATE to apply. You cannot set an empty Android ID.

Network

The Network widget allows you to test how your application reacts with different network quality and performance types.

Click to open the widget window:

By default, Wifi is enabled. To disable Wifi and simulate Mobile Data transfer speed, uncheck Wifi, select a Network Type and a Signal Strength from the drop-down lists.

Network profiles and their corresponding values with max Signal strength (Great) are listed in the table below:

| Download speed | Upload speed | Upload/Download delay (in ms) | Upload/Download packet loss | |---|---|---|---| | Unlimited | No Limit | No Limit | No Limit | | 2G GSM | 14Kb/s | 14 Kb/s | 500 | 0 | | 2G GPRS | 57Kb/s | 28Kb/s | 300 | 0 | | 2G EDGE | 236Kb/s | 236Kb/s | 75 | 0 | | 3G UMTS | 384Kb/s | 384Kb/s | 75 | 0 | | 3G HSDPA | 13.98Mb/s | 5.76Mb/s | 10 | 0 | | 4G LTE | 173Mb/s | 58Mb/s | 5 | 0 | | 5G | 1174Mb/s | 211Mb/s | 5 | 0 |

Baseband

13.0.0

SIM data (Baseband) is only simulated: it is not possible to send or receive calls or messages to/from physical phones or tablets.

Baseband emulation allows you to test different mobile network operators with different SIM operators.

Click to open the widget window:

Fill the fields with the desired values:

Click UPDATE to apply the changes.

Phone

Phone is only simulated: it is not possible to send or receive calls or messages to/from physical phones or tablets.

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

To open the Phone widget, click . Then, enter a fictious incoming phone number and:

Text messages are displayed in the virtual device via a notification, but they can also be read in the Messaging application.

Disk I/O

The Disk I/O widget allows you to emulate devices with slow internal storage. It can be very handy if your app requires reading large amount of data from the disk such as gallery apps that load locally stored images or game apps that load large files.

As the speed limit provided by this feature comes on top of the one already defined in your Cloud provider instance, make sure the profile you wish to apply does not exceed the disk performance already provided in the instance. If so, the widget will not be able to emulate the expected disk performance. For more information, refer to your Cloud provider documentation.

Click to open the widget:

In Profile, select a type of device:

Click UPDATE to apply the change.

When switching from a device profile to another, the disk cache is automatically cleared. You can force clearing the cache by clicking CLEAR CACHE.

Biometrics

This feature is not available with Android Automotive. 14.0.0

This feature is only available for Android 13 and above.

The Biometrics widget allows you to simulate fingerprint recognition.

Click to open the widget window:

The icons will only become available when fingerprint enrollment starts in Android. At this moment, Authentication required will turn to Yes:

Then, you will be able to click on one of the icons to simulate the following scenarios:

You can also toggle Recognized by default to automatically respond to a fingerprint enrollment with the recognized scenario.

Important Note In order to use this widget in any application asking for Fingerprint authentication, you need to configure one fingerprint in Android. Follow these step, in Android: 1. Go to "Settings". 2. Then "Security & privacy". 3. Then "Device unlock" and "Fingerprint" 4. Select a screen lock method 5. Enter your Pattern, PIN or Password and click NEXT 6. Confirm and proceed to the setup 7. Use the Biometric widget to configure one finger

Navigation Widgets

The navigation widgets emulate the Android navigation buttons:

Power

The power widget does not shut down the instance, and you will still be charged by the Cloud provider. To shutdown an instance safely, use the Power Off and Reboot feature, or do it from your Cloud provider EC2 dashboard.

The Power Widget emulates a real device power button:

---

Additional sections (as implied by the page's table of contents) include External Storage, Data Backup, Automate instance parameters, APIs and CI, Genymotion HTTP API, Genymotion Java API, Running Tests with Appium, Help and other information, and Open-source Licenses.