iOS & Android

안드로이드 hardware.ini config.ini

_침묵_ 2011. 11. 21. 14:35
안드로이드 에뮬레이터 설정에 사용되는 내용입니다. 에뮬레이터 스킨에서 설정할 때는 hardware.ini 에 기술하면되고, 생성된 AVD에 설정할 때에는 AVD의 config.ini 파일에 기술하면 되겠습니다.


Whether we use a /cache partition on the device. (boolean)
disk.cachePartition=yes

(diskSize, MB or KB)
disk.cachePartition.size=66MB
disk.dataPartition.size=0
disk.systemPartition.size=0

Whether there is an acceleromteter in the device. (boolean)
hw.accelerometer=yes

Whether the device can record audio (boolean)
hw.audioInput=yes

Whether the device can play audio (boolean)
hw.audioOutput=yes

Whether the device can run on a batt (boolean)
hw.battery=yes

Whether the device has a camera. (boolean)
hw.camera=no

(integer)
hw.camera.maxHorizontalPixels=640
hw.camera.maxVerticalPixels=480

Whether the device has DPad keys (boolean)
hw.dPad=no

Whether there is a GPS in the device. (boolean)
hw.gps=yes

Enable/disable emulated OpenGLES GPU (boolean)
hw.gpu.enabled=no

Whether there is a GSM modem in the device. (boolean)
hw.gsmModem=yes

Whether the device has a QWERTY keyboard. (boolean)
hw.keyboard=yes

Whether the QWERTY keyboard can be opened/closed. (boolean)
hw.keyboard.lid=yes

Enable/Disable LCD backlight simulation, yes-enabled, no-disabled. (boolean)
hw.lcd.backlight=yes

Must be one of 120/160/240/213/320. A value used to roughly describe the density of the LCD screen for automatic resource/asset selection. (integer)
hw.lcd.density=240

Must be 16 or 32. Color bit depth of emulated framebuffer. (integer)
hw.lcd.depth=16

(integer)
hw.lcd.height=640
hw.lcd.width=320

Whether there are hardware back/home keys on the device. (boolean)
hw.mainKeys=yes

The amount of physical RAM on the device, in megabytes. (integer)
hw.ramSize=256

Whether the device supports insertion/removal of virtual SD Cards. (boolean)
hw.sdCard=yes

Whether there is an proximity in the device. (boolean)
hw.sensors.proximity=yes

Whether there is a touch screen or not on the device. (boolean)
hw.touchScreen=yes

Whether there is a trackball on the device. (boolean)
hw.trackBall=yes

Defines number of web cameras to emulate. 0 disables webcam emulation. (integer)
hw.webcam.count=6

The maximum heap size a Dalvik application might allocate before being killed by the system. Value is in megabytes. (integer)
vm.heapSize=24




hw.cpu.arch=arm
skin.name=WVGA800
sdcard.size=32M
abi.type=armeabi
image.sysdir.1=platforms/android-10/images/
skin.path=platforms/android-10/skins/WVGA800

'iOS & Android' 카테고리의 다른 글

Android UI components  (0) 2012.06.27
안드로이드 TextView와 textSize 관계  (1) 2011.11.10
안드로이드 UUID  (0) 2011.05.11