An Android Virtual Device () is a configuration used by the mobile device emulator included with the Android . The Android emulator mimics all of the hardware and software features of a typical mobile device, with the exception of being able to place actual phone calls.

In this step you will learn how to create an Android Virtual Device () which will be used to test your iDigi Android applications.

Open the Android Virtual Device Manager from the Eclipse's main toolbar or by going to Window > Manager.

AVD toolbar

In the Virtual Devices panel you will see a list of existing s. Click New... to create a new .

Virtual Devices panel

The Create New dialog appears.

New AVD dialog

Follow these steps to configure the new .

  1. Within the Name field, give the new device a name.
  2. Select the Android Level (Android version) option from the Target drop-down menu. We will use 10 for this example.
  3. Specify a size for the Card. We will configure it with 512MB for this example. This memory will be taken from your hard disk, so be aware of this stipulation when configuring this setting.
  4. Enable the Snapshot option. Enabling this setting will cause the emulator to save and restore the status of the , which usually avoids booting when launching the .
  5. Select a display skin for the device. For this example we will use HVGA, as it has a reasonable aspect ratio and size to work with.
  6. In the Hardware section:

    1. Click New... and choose the Card support option from the Property drop-down menu. Then click OK. This will include an emulated card in the device with the size you configured in step 3.

      Configure SD Card support

    2. It is recommended to increase the Device size to 512. Increasing the device's size will also increase the device's performance. However, this memory is taken from your , so be aware of this stipulation when modifying the device's RAM amount.

  7. Click on Create AVD to create the virtual device.

    AVD configured


Teach

You have just learned how to create an Android Virtual Device.


If you want to test the Android Virtual Device you have created, select it from the list of devices in the Virtual Devices panel and click Start....

Launch AVD

A new window will allow you to configure some additional options before launching the .

Pre-launch options

Click Launch to start the .

Emulator - AVD


Teach

You have just learned how to launch an Android Virtual Device.


Clock



Prev. Step

Home

Next Step