Android:类似 Galaxy S3 的 AVD 的 AVD 设置
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/10833402/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Android: AVD-Settings for Galaxy S3-Like AVD
提问by h00ligan
I need help with the AVD-Settings for my new Virtual Device.
我需要有关新虚拟设备 AVD 设置的帮助。
I need the settings for an AVD that has the same size like the new Samsung Galaxy S3.
我需要与新三星 Galaxy S3 具有相同大小的 AVD 的设置。
采纳答案by Shai Alon
I just saw a detailed description here: http://forum.xda-developers.com/showthread.php?t=2365104:
我刚刚在这里看到了详细说明:http: //forum.xda-developers.com/showthread.php?t=2365104:
- Name: Samsung_Galaxy_S3_IceCream
- Target: Android 4.0 (Api level 14)
- SDCard: 16 Gb
- Skin: WVGA800
- Hardware:
- Size 4.8 inches (~65.9% screen-to-body ratio)
- Resolution 720 x 1280 pixels (~306 ppi pixel density)
- Device Ram Size: 1024
- Hardware Back/Home keys: yes
- Abstracted LDC density: 320
- Keyboard lid support: no
- Max VM application heap size: 48
- Accelerometer: yes
- Audio Playback support: yes
- Audio recording support: yes
- Battery support: yes
- GPS support: yes
- Orientation support: yes
- Magnetic Field support: yes (I know GSM arena does not state it has one but you can get magnetic iron detection working when using apps such as Smart Tools and it is reported in benchmarking apps like Quadrant).
- Proximity support: yes (Once more, GSM arena does not state it but Quadrant Benchmark reports the existance of CM36651 Proximity Sensor)
- LCD Color depth: 32 (In reality, the S3 has 16M color which is 24 bits)
- LCD Pixel height: 1280
- LCD Pixel width: 720
- SD Card Support: yes
- Touch screen type: multi-touch
- Track-ball support: no
- 名称:Samsung_Galaxy_S3_IceCream
- 目标:Android 4.0(API 级别 14)
- SDC 卡:16 Gb
- 皮肤:WVGA800
- 硬件:
- 尺寸 4.8 英寸(屏占比约 65.9%)
- 分辨率 720 x 1280 像素(~306 ppi 像素密度)
- 设备内存大小:1024
- 硬件返回/主页键:是
- 抽象的 LDC 密度:320
- 键盘盖支架:无
- 最大 VM 应用程序堆大小:48
- 加速度计:有
- 音频播放支持:是
- 录音支持:是
- 电池支持:是
- GPS 支持:是
- 方向支持:是
- 磁场支持:是的(我知道 GSM arena 并没有说明它有一个,但是在使用诸如 Smart Tools 之类的应用程序时可以使磁铁检测工作,并且在 Quadrant 等基准测试应用程序中报告了这一点)。
- 接近支持:是的(再一次,GSM arena 没有说明,但 Quadrant Benchmark 报告了 CM36651 接近传感器的存在)
- LCD 色深:32(实际上,S3 有 16M 色,即 24 位)
- LCD 像素高度:1280
- LCD 像素宽度:720
- SD 卡支持:是
- 触摸屏类型:多点触控
- 轨迹球支持:否
回答by Toryu
I created one based of the stats that GSM arena states (http://www.gsmarena.com/samsung_i9300_galaxy_s_iii-4238.php).
我创建了一个基于 GSM arena 状态的统计数据(http://www.gsmarena.com/samsung_i9300_galaxy_s_iii-4238.php)。
So, for a completely stock device, I used the following specs:
因此,对于完全库存的设备,我使用了以下规格:
- Name: Samsung_Galaxy_S3_IceCream
- Target: Android 4.0 (Api level 14)
- SDCard: 16 Gb
- Skin: WVGA800
- Hardware
- Device Ram Size: 1024 MB
- Hardware Back/Home keys: yes
- Abstracted LDC density: 320
- Keyboard lid support: no
- Max VM application heap size: 48 MiB
- Accelerometer: yes
- Audio Playback support: yes
- Audio recording support: yes
- Battery support: yes
- GPS support: yes
- Orientation support: yes
- Magnetic Field support: yes (I know GSM arena does not state it has one but you can get magnetic iron detection working when using apps such as Smart Tools and it is reported in benchmarking apps like Quadrant).
- Proximity support: yes (Once more, GSM arena does not state it but Quadrant Benchmark reports the existance of CM36651 Proximity Sensor)
- LCD Color depth: 32 (In reality, the S3 has 16M color which is 24 bits)
- LCD Pixel height: 1280
- LCD Pixel width: 720
- SD Card Support: yes
- Touch screen type: multi-touch
- Track-ball support: no
- 名称:Samsung_Galaxy_S3_IceCream
- 目标:Android 4.0(API 级别 14)
- SDC 卡:16 Gb
- 皮肤:WVGA800
- 硬件
- 设备 RAM 大小:1024 MB
- 硬件返回/主页键:是
- 抽象的 LDC 密度:320
- 键盘盖支架:无
- 最大 VM 应用程序堆大小:48 MiB
- 加速度计:有
- 音频播放支持:是
- 录音支持:是
- 电池支持:是
- GPS 支持:是
- 方向支持:是
- 磁场支持:是的(我知道 GSM arena 并没有说明它有一个,但是在使用诸如 Smart Tools 之类的应用程序时可以使磁铁检测工作,并且在 Quadrant 等基准测试应用程序中报告了这一点)。
- 接近支持:是的(再一次,GSM arena 没有说明,但 Quadrant Benchmark 报告了 CM36651 接近传感器的存在)
- LCD 色深:32(实际上,S3 有 16M 色,即 24 位)
- LCD 像素高度:1280
- LCD 像素宽度:720
- SD 卡支持:是
- 触摸屏类型:多点触控
- 轨迹球支持:否
For one with update to JellyBean, all values are the same except as follows: - Name: Samsung_Galaxy_S3_JellyBean - Target: Android 4.1 (Api level 15)
对于更新至 JellyBean 的版本,除以下内容外,所有值都相同: - 名称:Samsung_Galaxy_S3_JellyBean - 目标:Android 4.1(Api 级别 15)
When starting the AVD, If you want to scale to the original size, the real screen size is 4.8 inches with a density of 306 px/inch.
启动 AVD 时,如果要缩放到原始大小,则实际屏幕大小为 4.8 英寸,密度为 306 像素/英寸。
回答by Alex W
Some of these settings have to be set up on the "Device Definitions" tab for the newer SDK.
其中一些设置必须在较新 SDK 的“设备定义”选项卡上进行设置。
Screen Size (in): 4.8
Resolution (px): 720 x 1280
Sensors: Accelerometer, Gyroscope, GPS, Proximity Sensor
Cameras: Front, Back
Input: Keyboard (Checked), No Nav
RAM: 1024 MiB
Size: Normal
Screen Ratio: long
Density: xhdpi
Buttons: Hardware
屏幕尺寸(英寸):4.8
分辨率(像素):720 x 1280
传感器:加速度计、陀螺仪、GPS、接近传感器
相机:正面、背面
输入:键盘(选中),无导航
RAM:1024 MiB
尺寸:正常
屏幕比例:长
密度:xhdpi
按钮:硬件
When you try to start the virtual device it should ask you for the real DPI in the "Launch Options" dialog window.
当您尝试启动虚拟设备时,它应该会在“启动选项”对话框窗口中询问您的真实 DPI。
Screen Size (in): 4.8
Monitor dpi: 306
Scale: 1.00
屏幕尺寸(英寸):4.8
显示器 dpi:306
比例:1.00
回答by Giorgio Natili
Try using this settings
尝试使用此设置
- Target: Google APIs
- API Level 15
- Skin: WXGA720
- 目标:Google API
- API 级别 15
- 皮肤:WXGA720
Hardware properties
硬件属性
- Hardware Back/Home: yes
- Abstracted LCD density: 320
- Keyboard lid support: no
- Max VM application heap size: 48
- Device ram size: 512
- 硬件返回/主页:是
- 抽象 LCD 密度:320
- 键盘盖支架:无
- 最大 VM 应用程序堆大小:48
- 设备内存大小:512
It should be pretty accurate.
应该是相当准确的。