Changing Resolution

To change the resolution of your virtual device, follow one of the methods detailed below.

TIP

You will need to reboot your device after changing resolution in order to execute the change.

From a web browser

Go to the "Configuration" section of your device (https://X.X.X.X/configuration, where X.X.X.X is your instance IP address).

Configuration screenshot

Fill the form or select a resolution from the dropdown list.

Configuration resolution

When clicking on "Apply", the virtual device will ask for reboot. This can take several seconds.

From command line

Android geometry (size and density) can be changed with the following properties. You must be in the virtual device shell with SSH or PuTTy (see this section) to run the following commands.

setprop persist.graph_mode WidthxHeight-Depth (e.g. 720x1280-32)
setprop persist.dpi dpi (e.g. 240)

WARNING

Only resolutions available in the configuration section (see previous section) are guaranteed to work, others may cause image corruptions.

From HTTP API

  1. To get the API reference, refer to DocumentationAPI ReferencePOST /android/resolution from the instance web user interface.
  2. To set it directly from the user interface, click on Try it out.
  3. Set your resolution, click on execute.
  4. Reboot the device.