Setting hardware emulation options

Appportunity

Build your own Android App Dev Empire

Get Instant Access

When are creating a new AVD that uses a standard Android system image ("Type: platform"), the android tool lets you set hardware emulation options for virtual device. The table below lists the options available and the default values, as well as the names of properties that store the emulated hardware options in the AVD's configuration file (the config.ini file in the AVD's local directory).

Characteristic

Description

Property

Device ram size

The amount of physical RAM on the device, in megabytes. Default value is "96".

hw.ramSize

Touch-screen support

Whether there is a touch screen or not on the device. Default value is "yes".

hw.touchScreen

Trackball support

Whether there is a trackball on the device. Default value is "yes".

hw.trackBall

Keyboard support

Whether the device has a QWERTY keyboard. Default value is "yes".

hw.keyboard

DPad support

Whether the device has DPad keys. Default value is "yes".

hw.dPad

GSM modem support

Whether there is a GSM modem in the device. Default value is "yes".

hw.gsmModem

Camera support

Whether the device has a camera. Default value is

hw.camera

"no".

Maximum horizontal camera pixels

Default value is "640".

hw.camera.maxHorizontalPixels

Maximum vertical camera pixels

Default value is "480".

hw.camera.maxVerticalPixels

GPS support

Whether there is a GPS in the device. Default value is "yes".

hw.gps

Battery support

Whether the device can run on a battery. Default value is "yes".

hw.battery

Accelerometer

Whether there is an accelerometer in the device. Default value is "yes".

hw.accelerometer

Audio recording support

Whether the device can record audio. Default value is "yes".

hw.audioInput

Audio playback support

Whether the device can play audio. Default value is "yes".

hw.audioOutput

SD Card support

Whether the device supports insertion/removal of virtual SD Cards. Default value is "yes".

hw.sdCard

Cache partition support

Whether we use a /cache partition on the device. Default value is "yes".

disk.cachePartition

Cache partition size

Default value is "66MB".

disk.cachePartition.size

Was this article helpful?

0 0

Post a comment