Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android: AVD-Settings for Galaxy S3-Like AVD

I need help with the AVD-Settings for my new Virtual Device.

I need the settings for an AVD that has the same size like the new Samsung Galaxy S3.

like image 864
h00ligan Avatar asked May 31 '12 12:05

h00ligan


People also ask

What is Android Virtual Device AVD?

The Android emulator is an Android Virtual Device (AVD), which represents a specific Android device. We can use the Android emulator as a target device to execute and test our Android application on our PC. The Android emulator provides almost all the functionality of a real device.

How do I run AVD on Android?

Run your app on the emulatorIn the toolbar, select the AVD that you want to run your app on from the target device drop-down menu. Click Run. The emulator might take a minute or so to launch for the first time, but subsequent launches will use a snapshot and should launch faster.


2 Answers

I created one based of the stats that GSM arena states (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

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)

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.

like image 150
Toryu Avatar answered Sep 23 '22 14:09

Toryu


Some of these settings have to be set up on the "Device Definitions" tab for the newer 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

When you try to start the virtual device it should ask you for the real DPI in the "Launch Options" dialog window.

Screen Size (in): 4.8
Monitor dpi: 306
Scale: 1.00

like image 45
Alex W Avatar answered Sep 23 '22 14:09

Alex W