This article will give an overview of Android* Intel® Architecture emulator for Honeycomb*, creating Android* Virtual Device (AVD) for Honeycomb* devices, basic usage and best practices.
Table of Contents
- Overview of Android* Emulator
- Android* Intel® Architecture emulator for Honeycomb*
- Creating AVD for Intel® Architecture Honeycomb*
- Android* Intel® Architecture Emulator for Honeycomb* Usage
Overview of Android* Emulator
Android* SDK comes with several developer tools, emulator being one of them. Android* emulator is a very useful tool for developers to quickly test and debug their apps before deploying on a real device.
The emulator is also very flexible in that it allows developers to try their apps on different variations of the target platform like screen-sizes or target API level, or try different hardware features. Real devices do not allow this possibility, and developers would otherwise have to procure different devices for each configuration they would like to target. The emulator allows this flexibility by letting developers create custom emulator configurations.
For each of the desired target platforms, an emulator configuration can be created called Android* Virtual Device (AVD) configuration. For more basic details of what an AVD is, and how to create and use different AVD configurations for Intel Architecture, please refer to the article “Android* Virtual Device Emulation for Intel Architecture”.
Android* SDK integrates emulator support into all of the Android* developer tools including Eclipse* ADT plugin, “adb” tool, and “android” tool which lets users create AVD configurations among other actions.
Android* emulator involves several components:
- the emulator binary/executable
- AVD configuration which defines customizations specified by user
- The system image for corresponding target (Android* version, e.g.: Android-13 Honeycomb*)
- The user data image and custom user settings
The emulator binary is located under tools folder of SDK (eg: “emulator-x86” for Intel Architecture Android*). The system and default user images are available under corresponding Android* Platform folder of SDK. (e.g.: For Intel Architecture Honeycomb*: /platforms/android-13/images/x86). The AVD and user custom configuration are stored under user home folder by default.
Android* Intel® Architecture Emulator for Honeycomb*
Android* SDK, as of version R12, supports x86 Android* Emulation. The SDK comes packaged with Intel Architecture Android* Emulator binary “emulator-x86”, which supports different Android* platforms including Honeycomb*.
The current SDK does not package Honeycomb x86 images for emulator. The Honeycomb* Intel Architecture emulator images will be available in future SDK releases.
The Android* emulator usage for Intel Architecture is very similar to the existing process, where the user first creates an AVD configuration for Honeycomb* Intel Architecture and can then invoke the emulator with AVD normally - either directly from command line or from eclipse ADT. We will discuss AVD creation and basic emulator usage in following sections.
Android* Intel Architecture Emulator for Honeycomb* supports all software and hardware customizations specified in Android documentation located at the following link: http://developer.android.com/guide/developing/devices/emulator.html
All the emulator startup options, emulator disk images customization, networking options discussed in the above documentation apply the same to Intel Architecture Honeycomb* emulator.
The Android* Emulator is not without limitations, which are documented here: http://developer.android.com/guide/developing/devices/emulator.html#limitations: these apply to Intel Architecture Emulator for Honeycomb* as well.
Below is a screenshot of experimental Intel Architecture Honeycomb* image running in x86 Android* emulator.
Creating AVD for Intel® Architecture Honeycomb*
Before using Honeycomb* Intel Architecture Emulator, the user needs to first create an AVD configuration that specifies the required software and hardware customizations. For a more detailed information about AVDs, how to create and use please refer to the article “Android* Virtual Device Emulation for Intel Architecture”.
Creating AVD configuration for Intel Architecture Honeycomb* is illustrated in the below screenshot.
After clicking “Create AVD”, the Android* tool will confirm the creation with a helpful message dialog showing details. The screenshot below shows this dialog message.
Android* Intel Architecture Emulator for Honeycomb* Usage
The Intel Architecture Honeycomb* emulator image usage is very similar to existing process for other Android* Emulator image usages.
The screenshot below illustrates the process of invoking the emulator directly from the “Android” tool, with Intel Architecture Honeycomb* AVD “HC” that we created in previous section.
From command line, users can invoke emulator with chosen AVD as below
Eclipse* Android* Plugin ADT has the emulator invocation integrated.
This article covered Android* Emulator and Intel Architecture Honeycomb* emulator basics, how to create an AVD for Intel Architecture Honeycomb* and the Intel Architecture Honeycomb* Emulator usage.
* Other names and brands may be claimed as the property of others
Copyright © 2011 Intel Corporation. All rights reserved.
Intel and Atom are trademarks of Intel Corporation in the U.S. and/or other countries.
INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL PRODUCTS. NO LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS DOCUMENT. EXCEPT AS PROVIDED IN INTEL'S TERMS AND CONDITIONS OF SALE FOR SUCH PRODUCTS, INTEL ASSUMES NO LIABILITY WHATSOEVER AND INTEL DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY, RELATING TO SALE AND/OR USE OF INTEL PRODUCTS INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT.
UNLESS OTHERWISE AGREED IN WRITING BY INTEL, THE INTEL PRODUCTS ARE NOT DESIGNED NOR INTENDED FOR ANY APPLICATION IN WHICH THE FAILURE OF THE INTEL PRODUCT COULD CREATE A SITUATION WHERE PERSONAL INJURY OR DEATH MAY OCCUR.
Intel may make changes to specifications and product descriptions at any time, without notice. Designers must not rely on the absence or characteristics of any features or instructions marked "reserved" or "undefined". Intel reserves these for future definition and shall have no responsibility whatsoever for conflicts or incompatibilities arising from future changes to them. The information here is subject to change without notice. Do not finalize a design with this information.
The products described in this document may contain design defects or errors known as errata which may cause the product to deviate from published specifications. Current characterized errata are available on request.
Contact your local Intel sales office or your distributor to obtain the latest specifications and before placing your product order.
Copies of documents which have an order number and are referenced in this document, or other Intel literature, may be obtained by calling 1-800-548-4725, or go to: http://www.intel.com/design/literature.htm