Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The correct Eclipse/Android device configuration for HTC Desire

I want to create an Android Virtual Device in Eclipse Galileo which matches HTC Desire. What configuration options should I use?

Using ADT r10.

like image 473
sharkin Avatar asked Apr 18 '11 12:04

sharkin


1 Answers

Octavian's answer was a good start (thanks), but I needed some more and couldn't wait. So after some semi-thourough research:

(All this is for Eclipse Galileo with Android ADT plugin r10)

Target: Android 2.1 or 2.2
HTC Desire is shipped with 2.1 but upgradeable to 2.2. Version 2.3 expected to be available May or June 2011.

SD Card: Shipped with 4GB (4096 MiB), supports 32GB (32768 MiB) .

Snapshot: New since ADT r9. Unrelated to the actual device, leave unchecked if uncertain.

Skin: WVGA800

Hardware:
Abstracted LCD Density -> 240
Max VM application heap size -> 24
Device RAM size -> 576

Property "Device RAM size" needs to be added with [New...] for Android 2.1 and 2.2.
24MB application heap size seems to be standard on 2.1 and 2.2, however it can be tweaked, so watch out when emulating rooted stuff (in which case more of these settings might be for the birds anyway).

References:
http://en.wikipedia.org/wiki/HTC_Desire
http://www.gsmarena.com/htc_desire-3077.php
http://tools.android.com/recent/emulatorsnapshots
http://forum.xda-developers.com/showthread.php?t=740752&highlight=vm+heap

like image 165
3 revs Avatar answered Sep 20 '22 06:09

3 revs