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

  1. From the right-hand side toolbar, click IC resolution.
  2. Select a resolution from the dropdown list. The virtual device reboots.
  3. Refresh the web page. 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 side toolbar (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.