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:
You can control the volume of the sound emitted by your virtual device by clicking or
You can rotate the screen of your virtual device by clicking
You can turn the full-screen mode on or off by clicking
Copy/Paste to the virtual device¶
- Paste your text into the clipboard text field.
- From within the virtual device, hold the left mouse button in the field you wish to paste to.
- Click Paste as on a real Android device.
Copy/Paste from the virtual device¶
- From within the virtual device, select the text you wish to copy and hold the left mouse button.
- Click Copy or Cut as on a real Android device.
- Click - the copied text is displayed in the clipboard text window.
- The text is automatically copied to your OS clipboard.
You can upload files from your computer to the virtual device.
Click to open the widget window:
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 on INSTALL OPEN GAPPS.
The Camera widget allows you to send a video 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. The video stream comes from a real physical webcam connected or integrated into your computer.
To use the Camera widget, click :
Make sure your browser is allowed to access your local webcam.
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:
- Modify the charge level using the slider or enter a value in the Charge level field.
- In the State of charge box, check to simulate Charging state or uncheck to simulate Discharging state.
The GPS widget allows real-time activation and modifications of a position, accuracy and bearing. To use the GPS widget:
- Set a value for the following fields:
|Latitude||Sets the latitude you wish to simulate.||-90° to 90°|
|Longitude||Sets the longititude you wish to simulate.||-180° to 180°|
|Altitude||Sets the altitude you wish to simulate.||-10000 m to 10000 m|
|Accuracy||Sets the accuracy using the slider or by entering a value.||0 m to 200 m|
|Bearing||Sets the bearing by using the compass or entering a value.||0° to 359.99°|
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.
You can also define a location using the Map button. Once a location selected, click Capture to retrieve its coordinates:
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:
- Click to take a screenshot of your virtual device display.
- Click to record your device display. Then, click to stop recording:
To use the Identifiers widget, click
Set values or click GENERATE to generate random values. Click UPDATE to apply.
You cannot set an empty Android ID.
Network and Baseband¶
The Network and Baseband widget allows you to test how your application reacts with different network quality and performance types. You can also test different mobile network operators with different SIM operators.
Click to open the widget window:
Select a network profile from the Network Speed drop-down list. Network profiles and their corresponding values are listed in the table below:
|Upload speed||Download speed||Upload/Download delay (in ms)||Packet loss||DNS delay (in ms)|
|4G (High DNS delay)||5.5Mb/s||17.9Mb/s||50||0.01%||3000|
|4G (High packet losses)||5.5Mb/s||17.9Mb/s||50||10%||100|
Click UPDATE to apply the changes.
Baseband is only simulated - it is not possible to send calls or messages to physical phones or tablets with Genymotion.
Baseband emulation allows you to test different mobile network operators with different SIM operators.
To use it, fill the fields with the desired values:
|MCC/MNC||Enter a Mobile Country Code for the Network operator.|
|Name||Enter a name for the Network Operator.|
|MCC/MNC||Enter a Mobile Country Code for the SIM operator.|
|MSIN||Enter a mobile subscription identification number used by the SIM operator.|
|Name||Enter a name for the SIM operator.|
|Phone Number||Enter the phone number corresponding to the SIM.|
Click UPDATE to apply the changes.
Phone is only simulated - it is not possible to send calls or messages to physical phones or tablets with Genymotion.
The Phone widget allows you to test applications relying on telephony features and observe their behavior when receiving a call or a text message:
- Enter an incoming phone number
- Click Call to simulate a call, or Send message and enter a text message, then click Send message to simulate a text message.
Text messages are displayed in the virtual device via a notification, but they can also be read in the Messaging application.
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.
To simulate high or poor disk performance:
From Profile, select a type of device:
Profile Read speed limit High-end device Read speed limit 200MiB per second. Mid-range device Read speed limit 100MiB per second. Low-end device Read speed limit 50MiB per second. Custom device Enter the read speed limit you wish to emulate in MiB.
When switching from a device profile to another, the disk cache is automatically cleared. You can force clearing the cache by clicking CLEAR CACHE.
|Brings the Android Recents Screen which lists recently accessed activities and tasks.|
|Emulates the Home button of a real device: navigate to Android Home page.|
|Emulates the Back button of a real device: kills the current activity and resumes the previous one.|
A short press on this button 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 go to your EC2 console and stop it.
The Power Widget simulates a real device power button.
- To put the virtual device to sleep, click
- To simulate a power button hold (reset or power off), click and hold your mouse button.
An Android ID is a 64-bit number randomly generated when the user first sets up the device. It remains the same for the whole lifetime of the user's device. Android 4.2.2 and greater versions support multiple user accounts, each one having a unique Android ID. Valid Android ID numbers are 16-hexadecimal digits long. ↩
As IMEI or MEID numbers are used as device ID, Genymotion generates numbers compliant with the GSM 02.16 standard and the 3GPP2 specification (14 digits or hexadecimal digits + a checksum digit). Valid characters for setting device ID/IMEI/MEID are lower-case letters [a-f], and digits [0-9] ↩