Detailed description of parameters in Android AVD creation and setting

Source: Internet
Author: User
Tags cell phone icon

Some parameters are vague when AVD is set. I have found an article for your reference!

This article explains how to install the simulator as follows:

Name: Custom virtual name. It cannot contain spaces or other illegal characters. Otherwise, it cannot be created, that is, creat AVD cannot be highlighted.
Target: select the Android version (which can be understood as the kernel?) to run ?), There are two versions here, depending on your initial download options. I personally understand that these two versions are also different from those of Version 2.2 in
It is hard to understand from the name. One is the optimized kernel package, and the other is the original Google ecosystem. Of course, both are the original Google version and have not been changed. Check the IMG and
Some of the built-in software and functions installed after the system is started are different. The memory occupied by the original ecology is small, and there are some external differences in skin, Font, and map.

Size: the size of the memory card to be simulated. The recommended size is MB or more depending on your needs. Here, kib is kb and MIB is MB. If you have used an image file, you can use it directly. File exists:
C:/Documents and Settings/Administrator/. Android/AVD/sdk2.2.avd/sdcard. IMG. If the allocation is too large, more system space is occupied. If necessary, you can back up the data,
For later use, select File to load directly.
Skin: Built-in is actually the pixel that defines the screen size. Common resolutions directly provided by the SDK can be used for specific display (your file extraction and storage path) android-SDK-Windows/platforms/Android-8/skins /;
Hvga 320*480 pixels; qvga 320*240 pixels; wqvga400 400*240 pixels; wqvga432 432*240 pixels; wvga800 800*480 pixels; wvga854 854*480 pixels
Resolution is the custom resolution. Unless there are special requirements, we do not recommend custom resolution because the Custom size does not have the corresponding right interface, of course, you can also make the corresponding skin.
Generally, after the size is selected, an effecacted LCD density is automatically added to hardware. The default value is 160.
Hardware: the default value of the LCD density is 160. The most direct result is the size of the cell phone icon and text. The minimum value is 120. You can customize the value based on the resolution. Generally, the default value is recommended.

Whether SD card Support supports the insertion/pop-up of flash cards;
Whether to enable the mobile phone to support the DPAD key. The default value is yes, indicating yes. The DPAD key is the Home Key, Return key, phone key, and power key on the mobile phone.
However, tests show that even no, the keys on the skin are also available and can be understood as peripherals and other controllers and keyboards.
Whether the accelerometer needs to allow the mobile phone to support the accelerator function. The default value is yes, indicating yes.
If maximum horizontal camera pixels enables the mobile phone to support camera functions, it then requires that the camera pixel be defined. The default horizontal pixel is 640.
Cache partition size: specify the size of the/cache partition. The default value is 66 MB.
Whether or not audio playback support allows the mobile phone to support music playback. The default value is yes, indicating yes.
Whether the track-ball support function must be supported by the mobile phone. The default value is yes, indicating yes.
Maximum vertical camera pixels enables the mobile phone to support camera functions. Next, you need to define the camera pixels. The default vertical pixel is 480.
Whether the camera function is supported by the camera support mobile phone. The default value is no.
Whether battery support needs to allow battery support. The default value is yes, indicating that battery support is supported.
Whether touch-screen support allows the mobile phone to touch the screen. The default value is yes, indicating support.
Whether to enable the mobile phone to support the music recording function. The default value is yes, indicating yes.
Whether GPS Support supports mobile positioning. The default value is yes.
Whether the cache partition support requires the Android mobile phone system to support additional/cache partitions, so that the temporary files stored in/cache will not be used in the Android system space. The default value is yes, indicating yes.
Whether to enable the mobile phone to support the QWERTY keyboard input function in keyboard support. The default value is yes, which indicates yes.
Max VM application heap size the maximum size of the virtual machine application heap, which is the minimum memory threshold of the system. When running is lower than this threshold, the system stops some processes. The default value is 16.
Whether the device Ram size needs to change the memory size of the mobile phone. The default value is 96 mb. We recommend that you change it to 256 MB or more.
So far, the custom AVD hardware device with Android 2.2 has been set up, but some hardware is not controlled in reality.

Recommended custom settings:

Size: 512 MB
Skin: Built-in-> hvga
Hardware: abstracted LCD density 160 (customizable, other values can also be entered, such as 200)
Cache partition size 128 MB
Camera support Yes
Device Ram size 512
Set the language to setting-> Language & keyboard-> Select language. The Chinese language on the interface takes effect after restart.

So far, we found that: 1, C:/Documents and Settings/Administrator /. android/AVD is the configuration file. In the next section, you can find the configuration file config. ini. After changing the configuration file, you must restart the simulator.
Use the simulator to create a new one with the same name and overwrite it. You can also change the parameters to take effect immediately.
2. run Android-SDK-Windows/tools/Android. BAT (your file is decompressed and stored in the path) and send it to the desktop shortcut to enable the simulator.
I also found that, 1. The simulation program emulator.exe consumes a lot of CPU, and the core usually accounts for 30-40;
2. The mouse operation does not respond well, the latency is serious, and it is uncomfortable. (To be resolved)
My android-lasted

Set the Virtual Machine screen size

After running the (start) virtual machine, a dialog box is displayed,
Launch option is mainly used to set the proportional relationship between the virtual machine screen and the computer screen, and reset the virtual machine.
Scale display to real size: After selection, you can customize the settings.
Screen size (in): Virtual Machine screen pixel size, default value 3.
Monitor DPI: the number of pixels per inch on the computer screen. The default value is 96. Click the question mark to set the computer size and resolution. The DPI of the current computer is automatically calculated.
For example, my computer screen size is 14', the resolution is 1600*900, and the corresponding DPI is 131. It looks like a level of detail.
Scale: This value indicates the ing between the virtual machine screen and the actual screen. If the value is 1, it indicates the two correspond. If the value is less than 1, the screen will be reduced, and vice versa.
Wipe user data: clears user-defined data and resets virtual machines.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.