Name: The user-defined virtual name cannot contain spaces or other illegal characters, otherwise it cannot be created, that is, the Create AVD cannot be highlighted and clicked.
Target, By checking the img and the differences in some built-in software and functions installed after the system is started, the original memory is small; And on the skin, typeface , maps and other external differences.
Size: It is to simulate the size of the card memory card. It depends on personal needs. It is recommended to exceed 256MB. KiB here is KB, and MiB is MB. If the used image file can be used directly. The file exists:: Documents and Settings Administrator . Android avd sdk2.2. avd sdcard.img. If the allocation is too large, it will occupy more system space. If necessary, it can be backed up for future direct use. Select File to load directly.
Skin: Build in is actually the pixel that defines the screen size. You can use the common resolution directly provided by SDk. You can view the specific information (your file decompression 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; WVGA 854 854 * 480 pixels
Resolution is a custom resolution. Unless there are special requirements, it is not recommended to customize it, because there is no corresponding interface on the right side for the customized size. Of course, you can also make the corresponding skin of this store yourself. Generally, after the size is selected, an abstract lcd density will be automatically added to the hardware. The default value is 160. This is explained below.
Hardware: Abstract Lcd Density is 160 by default. The most direct performance is the mobile phone Icon And text size, 120 is the minimum, which can be customized according to the resolution size. Generally, the default value is recommended.
Whether SD Card Support supports inserting/ejecting flash memory cards;
Does Dpad Support want the phone to support the DPad key? The default value is yes, indicating support. The DPad key is the Home key, return key, phone key and power key on the phone. However, the test shows that even no, the keys on the skin are also available, which can be understood as peripheral handles, keyboards, etc.
Whether Accelerometer wants the phone to support the accelerator function. The default value is yes, indicating support.
Maximum horizontal camera pixels If your phone supports the camera function, you will then be asked to define the camera pixels. The default horizontal pixel is 640.
Cache partition size To specify the size of the/cache partition, the default value is 66 MB.
Whether the audio playback support wants the phone to support the music playback function. The default value is yes, indicating support.
Track ball support Whether to enable the phone to support the trackball function, the default is yes, indicating support.
Maximum vertical camera pixels enables the phone to support the camera function, and then asks to define the camera pixels. The default vertical pixel is 480.
Whether the camera support phone supports the camera function, the default is no.
Battery support: whether the phone supports the battery function. The default value is yes, indicating support.
Touch screen support Whether to enable the phone to support the touch screen function, the default value is yes, indicating support.
Audio recording support Whether to enable the phone to support the music recording function, the default value is yes, indicating support.
Whether GPS support supports mobile phone positioning, yes by default.
Whether the Cache partition support requires the Android phone system to support additional/cache partitions, so that the temporary files placed in/cache will not be used in the Android system space. The default value is yes, indicating support.
Keyboard support Whether to enable the phone to support the QWERTY keyboard input function, the default value is yes, indicating support.
Max VM application heap size The maximum virtual machine application heap size is the minimum memory threshold of the system. When running below this value, the system will end some processes. The default value is 16.
Do you want to change the device ram size? The default value is 96 MB. It is recommended to change it to more than 256 MB.
So far, the customized AVD hardware device equipped with Android version 2.2 has been set, but some hardware is not controlled in practice.
Recommended custom settings:
Skin：Built-in -> HVGA
Hardware: Abstract Lcd Density 160 (can be customized, or enter other values, such as 200)
Cache partition size 128MB
Camera support yes
Device ram size 512
The language is set to setting ->language&keyboard ->select language, and the interface Chinese takes effect after restarting.
So far, it is found that:
1. The configuration file is located in C: Documents and Settings Administrator . Android avd. The configuration file config.ini can be found in the directory in the next section to change the corresponding parameters. You need to restart the emulator after changing the configuration file. Directly use the simulator to create a new one with the same name, and select to overwrite it. You can also change the parameters, which can take effect immediately.
2. Run android-sdk-windows tools android.bat (the path where your files are unzipped and stored) and send it to the desktop shortcut to start the simulator.
I also found a small problem:
1. Emulator.exe, the simulator process, consumes CPU, and the Core dual core usually accounts for 30-40% when running programs;
2. The mouse operation did not respond well, and the delay was serious. (To be solved)
Set the size of the virtual machine screen
After running (Start) the virtual machine, a dialog box will pop up,
Launch option is mainly used to set the proportional relationship between the virtual machine screen and the computer screen, and reset the virtual machine.
Install Android simulator on the computer - partial update details - Anjinet technical exchange - android.png
Scale display to real size: When selected, you can customize the settings.
Screen size (in): the pixel size of the virtual machine screen. The default value is 3.
Monitor dpi: pixels per inch of the computer screen. The default value is 96. Click the question mark to set the computer size and resolution, and the dpi of the current computer will be calculated automatically.
For example, the size of my computer screen is 14 ', the resolution is 1600 * 900, and the corresponding dpi is 131. It seems to be a fine degree.
Scale: This value indicates the mapping relationship between the virtual machine screen and the actual screen. A value of 1 indicates that the two correspond. If the value is less than 1, the screen will be reduced, otherwise it will be enlarged.
Wipe user data: clear user-defined data and reset the virtual machine.