52 CHAPTER 2: Configuring Your Android App Development System
- I used a 512 setting for the Internal Storage field, and selected the MiB from
the drop-down selector to specify megabytes, rather than gigabytes, which is
designated as GiB. - For the SD Card, I specified 4GB to make the emulator run more efficiently,
even though the product supports a 16GB or 32GB MicroSD Card, which to
the emulator would be the same as an SD Card. - Finally, for the Emulation Options, check the Snapshot option to speed
subsequent AVD reloads for your testing cycle. This keeps a “snapshot” of
the AVD environment in your system memory, so that each time you access
the AVD emulator to test your application, it does not have to be reloaded.
You can see the final result in Figure 2 -2 0.
Figure 2-20. A Neptune_Pine_SmartWatch custom AVD once it has been created using the Device Definitions tab
Note If you are creating interactive 3D OpenGL ES 3.1 applications, which use the OpenGL rendering
engine that is part of the Android OS, you will alternatively want to choose the Use Host GPU option instead,
to take advantage of your workstation GPU (Graphics Processing Unit) hardware. It is important to note that
you cannot select both of these emulation options at the same time, so unless you are using OpenGL 3D
technology in your application, select the Snapshot option.
Now that you have created AVD emulators for both a smartphone and a smartwatch, and are familiar
with the work process involved, you can create your very own AHD definitions, which you can then
use to create the final AVD definition. You are now ready for anything in the area of emulation that I
can throw at you in the remaining chapters of this book, which cover how to develop applications for
the Android operating system running on Android devices.