Android simulator shortcut

Source: Internet
Author: User

Android emulator is a fully functional simulator that simulates functions such as phone book and call. Even its built-in browsers and Google maps can be connected to the Internet. You can use the keyboard input, click the simulator button, or even click and drag the screen with the mouse.
1. Differences between a simulator and a real machine
* Calls and calls are not supported. However, you can simulate calls (incoming and outgoing calls) on the console ).
* USB connections are not supported.
* Camera/video capturing is not supported.
* Audio input (capture) is not supported, but output (replay) is supported ).
* Extended headphones are not supported.
* The connection status cannot be determined.
* The battery level and AC charging status cannot be determined.
* The SD card insertion/pop-up cannot be determined.
* Bluetooth is not supported.

2. parameter description
The androidsimulator emulator.exe file contains many parameters. In Eclipse IDE, the simulator is automatically called. How can I set it if I only use Android emulator or an open environment like netbean? We have summarized all the parameters and usage of the simulator, as shown below.

Android emulator usage: emulator [Options] [-qemu ARGs]
Options:
-System <dir> Read system images from <dir>
-Datadir <dir> write user data into <dir>
-Kernel <File> emulated kernel specifies the Kernel File
-Ramdisk <File> ramdisk image (default <system>/ramdisk. IMG) to create a memory disk
-Image <File> system image (default <system>/system. IMG)
-Initdata <File> initial user image (default <system>/userdata. IMG)
-Data <File> working user image (default <datadir>/userdata-qemu.img)
-Wipe-data reset the user data image (copy it from initdata) Clear all user data
-Nocache disable the cache partition: Disable partition Cache
-Sdcard <File> SD card image (default <system>/sdcard. IMG)
-Skindir <dir> Search skins in <dir> (default <system>/skins)
-Skin <skin> select a given skin select the android simulator skin ID
-Noskin don't use any emulator skin does not use any simulator appearance, which helps increase the speed of the simulator. Users with small memory can try
-Netspeed <speed> maximum network download/upload speeds
-Netdelay <delay> network latency emulation network delay settings
-Netfast disable network shaping (full speed, no latency) network working at full speed
-Trace <Name> Enable code profiling (Press F9 to start) Tracking debugging
-Debug-kernel send kernel output to the console kernel debugging
-Console enable console shell on current terminal enable console shell in the current middle end
-Nojni disable JNI checks in the Dalvik runtime disable JNI check
-Logcat <tags> enable logcat output with given tags
-Noaudio disable Android audio support disable audio support
-Useaudio enable Android audio support (default) Enable audio support
-MIC <File> WAV file for audio input: Simulate mic input using WAV Files
-Flash-keys flash key presses on the device skin
-Raw-keys disable Unicode keyboard reverse-Mapping
-Radio <device> redirect radio modem interface to character device
-Oldradio enable old VM-based simulated radio
-Onion <image> Use overlay image Over Screen
-Onion-Alpha <% age> specify onion skin transpoliccy (default 50)
-Http-proxy <proxy> make TCP connections through a HTTP/HTTPS Proxy Server Settings
-Verbose enable verbose output
-Verbose-keys enable verbose key presses
-Verbose-proxy enable proxy debug messages
-Version display emulater version number
-Qemu pass arguments to qemu
-Qemu-H display qemu help
-Help print this help
Default network latency is 'none'
<Proxy> can be one of the following:
Http: // <server >:< port>
Http: // <username >:< password >@< server >:< port>
The 'HTTP: // 'prefix can be omitted. if'-http-proxy <proxy> 'is not used,
The 'HTTP _ proxy' environment variable is looked up and any value matching
The <proxy> format will be used automatically
3. Shortcut Keys
The android simulator also has many shortcut keys. When the simulator is running, you can use the following shortcut keys to operate Android emulator, which is more efficient than using the keyboard and mouse. You may wish to give it a try:
D: \ unsetup \ android-sdk-windows-1.1_r1 \ tools> emulator.exe-help-keys

When running the emulator, use the following keypresses:

Home button main interface key
F2, Pageup menu (soft-left) button left soft key
Shift-F2, Pagedown Star (soft-Right) button right soft key
Escape back button back key
F3 call/dial button dialing/call key
F4 hangup/endcall button ends a call
F4 power button Power Supply key
F5 Search button search key
Keypad_plus, Ctrl-F5 volume up button to increase the volume key
Keypad_minus, Ctrl-F6 volume down button reduces the volume key
Ctrl-KEYPAD_5, Ctrl-F3 camera button camera keys
Keypad_7, Ctrl-F11 switch to previous layout return key
Keypad_9, Ctrl-F12 switch to next layout next interface
F8 toggle cell network on/off disable/enable all networks
F9 toggle code profiling starts Tracing
Alt-enter toggle fullscreen mode enable/disable full screen mode
F6 toggle trackball mode enable/disable trackball
Delete show trackball
Keypad_5 DPAD center navigation/OK key
Keypad_4 DPAD left button
Right-click keypad_6 DPAD
Keypad_8 DPAD up Shang
Keypad_2 DPAD down key
Keypad_multiply increase onion alpha
Keypad_divide decrease onion alpha

4. Precautions for using the simulator
When you use emulator to test the development program, you may encounter system prompts such as insufficient C disk space. This is because the android simulator will generate several temporary errors each time it runs. A temporary file with the TMP suffix. After a period of time, it may occupy several GB of disk space. Therefore, you need to manually clear the contents in the C: \ Documents and Settings \ sh \ Local Settings \ temp \ androidemulator folder regularly.

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.